共用方式為


ITextUndoHistory.CanRedo Property

Determines whether a single redo is possible.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'宣告
ReadOnly Property CanRedo As Boolean
bool CanRedo { get; }
property bool CanRedo {
    bool get ();
}
abstract CanRedo : bool
function get CanRedo () : boolean

Property Value

Type: System.Boolean
true if a single redo is possible, otherwise false.

Remarks

This property corresponds to CanRedo for the most recent visible redo ITextUndoTransaction. If there are hidden transactions on top of the visible transaction, this property returns true only if they can be redone as well.

.NET Framework Security

See Also

Reference

ITextUndoHistory Interface

Microsoft.VisualStudio.Text.Operations Namespace