Compartir a través de


VCFileCodeModel.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 after 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 by using the Visual C++ code model. The transaction is completed when the AbortTransaction method or CommitTransaction method is called.

Applies to