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
'Dichiarazione
Function GetTransaction ( _
description As String _
) As DesignerTransaction
'Utilizzo
Dim instance As IVsProjectDesignerPageSite
Dim description As String
Dim returnValue As DesignerTransaction
returnValue = instance.GetTransaction(description)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsProjectDesignerPageSite Interface
IVsProjectDesignerPageSite Members
Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace