VCCodeModel.StartTransaction(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.