次の方法で共有


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

See Also

Reference

ITextUndoTransaction Interface

Microsoft.VisualStudio.Text.Operations Namespace