Condividi tramite


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

'Declaration
ReadOnly Property CanUndo As Boolean
bool CanUndo { get; }
property bool CanUndo {
    bool get ();
}
abstract CanUndo : bool with get
function get CanUndo () : boolean

Property Value

Type: 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