Partager via


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

'Déclaration
ReadOnly Property CanUndo As Boolean
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