共用方式為


ITextUndoHistory.State Property

Gets the current state of the undo history.

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

Syntax

'宣告
ReadOnly Property State As TextUndoHistoryState
TextUndoHistoryState State { get; }
property TextUndoHistoryState State {
    TextUndoHistoryState get ();
}
abstract State : TextUndoHistoryState
function get State () : TextUndoHistoryState

Property Value

Type: Microsoft.VisualStudio.Text.Operations.TextUndoHistoryState
The current state of the undo history.

.NET Framework Security

See Also

Reference

ITextUndoHistory Interface

Microsoft.VisualStudio.Text.Operations Namespace