StartTransaction Method

VCCodeModel.StartTransaction Method (String)

 

Begins a transaction.

Namespace:   Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

void StartTransaction(
	string bstrName
)

Parameters

bstrName
Type: System.String

Required. The name of the transaction. This name identifies the item placed on the Undo stack once the transaction is completed.

Call this method to start a new transaction. A transaction consists of a series of one or more modifications to an existing solution using the Visual C++ Code Model. The transaction is completed when AbortTransaction or CommitTransaction are called.

Return to top
Show:
© 2016 Microsoft