VCCodeModel.CommitTransaction VCCodeModel.CommitTransaction VCCodeModel.CommitTransaction VCCodeModel.CommitTransaction VCCodeModel.CommitTransaction VCCodeModel.CommitTransaction Method

Definition

Commits the current transaction for the object.

public:
 void CommitTransaction();
public:
 void CommitTransaction();
void CommitTransaction();
[System.Runtime.InteropServices.DispId(521)]
public void CommitTransaction ();
abstract member CommitTransaction : unit -> unit
Public Sub CommitTransaction ()

Remarks

Call this method to commit a transaction started by CSession::StartTransaction. Once 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.

Applies to