Share via


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 ();
[<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. 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