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)
'Deklaracja
ReadOnly Property CanUndo As Boolean
bool CanUndo { get; }
property bool CanUndo {
bool get ();
}
abstract CanUndo : bool
function get CanUndo () : boolean
Type: System.Boolean
true if a single undo is possible, otherwise false.
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.
- 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.