VCCodeModel.CommitTransaction Method ()


Commits the current transaction for the object.

Namespace:   Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

void CommitTransaction()

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.

Return to top