Поделиться через


ITextUndoTransaction.CanUndo Property

Determines whether it is currently possible to call Undo() successfully.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Декларация
ReadOnly Property CanUndo As Boolean
    Get
bool CanUndo { get; }
property bool CanUndo {
    bool get ();
}
abstract CanUndo : bool
function get CanUndo () : boolean

Property Value

Type: System.Boolean
true if it is currently possible to call Undo successfully, otherwise false.

.NET Framework Security

See Also

Reference

ITextUndoTransaction Interface

Microsoft.VisualStudio.Text.Operations Namespace