Udostępnij za pośrednictwem


VCFileCodeModel.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. 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.

Applies to