VCFileCodeModel.CommitTransaction Method
Commits the current transaction for the object.
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
'Declaração
Sub CommitTransaction
void CommitTransaction()
void CommitTransaction()
abstract CommitTransaction : unit -> unit
function CommitTransaction()
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.