Share via


IVsProjectDesignerPageSite.GetTransaction Method

Gets a transaction to group multiple property changes into a single undo/redo unit.

Namespace:  Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner
Assembly:  Microsoft.VisualStudio.ManagedInterfaces (in Microsoft.VisualStudio.ManagedInterfaces.dll)

Syntax

'Declaration
Function GetTransaction ( _
    description As String _
) As DesignerTransaction
DesignerTransaction GetTransaction(
    string description
)
DesignerTransaction^ GetTransaction(
    String^ description
)
abstract GetTransaction : 
        description:string -> DesignerTransaction 
function GetTransaction(
    description : String
) : DesignerTransaction

Parameters

  • description
    Type: System.String
    The description of the transaction.

Return Value

Type: System.ComponentModel.Design.DesignerTransaction
DesignerTransaction .

Remarks

The transaction must be either committed or cancelled after the property changes are made.

.NET Framework Security

See Also

Reference

IVsProjectDesignerPageSite Interface

Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace