共用方式為


TextUndoRedoEventArgs.State 屬性

取得交易的狀態。

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

語法

'宣告
Public ReadOnly Property State As TextUndoHistoryState
public TextUndoHistoryState State { get; }
public:
property TextUndoHistoryState State {
    TextUndoHistoryState get ();
}
member State : TextUndoHistoryState with get
function get State () : TextUndoHistoryState

屬性值

類型:Microsoft.VisualStudio.Text.Operations.TextUndoHistoryState
交易的狀態。

備註

狀態可能是UndoingRedoing

.NET Framework 安全性

請參閱

參考

TextUndoRedoEventArgs 類別

Microsoft.VisualStudio.Text.Operations 命名空間