ITextUndoTransaction.Cancel Method
Marks an open transaction as canceled, and undoes and clears any undo primitives that have been added.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'宣言
Sub Cancel
void Cancel()
void Cancel()
abstract Cancel : unit -> unit
function Cancel()
.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.