共用方式為


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

'宣告
Function GetTransaction ( _
    description As String _
) As DesignerTransaction
DesignerTransaction GetTransaction(
    string description
)

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