共用方式為


ITextUndoTransaction.CanRedo 屬性

判斷是否為目前可以呼叫Do成功。

命名空間:  Microsoft.VisualStudio.Text.Operations
組件:  Microsoft.VisualStudio.Text.Logic (在 Microsoft.VisualStudio.Text.Logic.dll 中)

語法

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

屬性值

類型:Boolean
true 如果它是目前可以呼叫 Do() 成功,否則false。

.NET Framework 安全性

請參閱

參考

ITextUndoTransaction 介面

Microsoft.VisualStudio.Text.Operations 命名空間