VCCodeModel.StartTransaction(String) Method

Definition

Begins a transaction.

public:
 void StartTransaction(System::String ^ bstrName);
public:
 void StartTransaction(Platform::String ^ bstrName);
void StartTransaction(std::wstring const & bstrName);
[System.Runtime.InteropServices.DispId(519)]
public void StartTransaction (string bstrName);
[<System.Runtime.InteropServices.DispId(519)>]
abstract member StartTransaction : string -> unit
Public Sub StartTransaction (bstrName As String)

Parameters

bstrName
String

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

Attributes

Remarks

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.

Applies to