Compartir a través de


VCCodeModel.CommitTransaction Method

Commits the current transaction for the object.

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

Syntax

'Declaration
Sub CommitTransaction
void CommitTransaction()
void CommitTransaction()
abstract CommitTransaction : unit -> unit
function CommitTransaction()

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.

.NET Framework Security

See Also

Reference

VCCodeModel Interface

Microsoft.VisualStudio.VCCodeModel Namespace