次の方法で共有


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

See Also

Reference

ITextUndoTransaction Interface

Microsoft.VisualStudio.Text.Operations Namespace