Partager via


VCCodeModel.AbortTransaction Method

Cancels the current transaction.

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

Syntax

'Déclaration
Sub AbortTransaction
void AbortTransaction()
void AbortTransaction()
abstract AbortTransaction : unit -> unit 
function AbortTransaction()

Remarks

When a transaction is canceled, all prior text modifications are undone, returning the source code to its original state.

.NET Framework Security

See Also

Reference

VCCodeModel Interface

Microsoft.VisualStudio.VCCodeModel Namespace