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
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
- 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.