Share via


VCFileCodeModel.AbortTransaction Method

Halts the current transaction.

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

Syntax

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

Remarks

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

.NET Framework Security

See Also

Reference

VCFileCodeModel Interface

Microsoft.VisualStudio.VCCodeModel Namespace