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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft