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: StringThe description of the transaction.
Return Value
Type: 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
Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace