ITextUndoHistory.CanUndo Property
Determines whether a single undo is possible.
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 a single undo is possible, otherwise false.
Remarks
This property corresponds to CanUndo for the most recent visible undo ITextUndoTransaction. If there are hidden transactions on top of the visible transaction, this property returns true only if they can be undone as well.
.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.