VCFileCodeModel.CommitTransaction 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.
Commits the current transaction for the object.
public:
void CommitTransaction();
public:
void CommitTransaction();
void CommitTransaction();
[System.Runtime.InteropServices.DispId(521)]
public void CommitTransaction ();
[<System.Runtime.InteropServices.DispId(521)>]
abstract member CommitTransaction : unit -> unit
Public Sub CommitTransaction ()
- Attributes
Remarks
Call this method to commit a transaction started by CSession::StartTransaction. After the transaction is committed, all Visual C++ code model operations completed in the current transaction are grouped in a single item (for all affected files) and placed on the Undo stack.