Udostępnij za pośrednictwem


TextUndoRedoEventArgs.State Property

Definition

Gets the state of the transaction.

public:
 property Microsoft::VisualStudio::Text::Operations::TextUndoHistoryState State { Microsoft::VisualStudio::Text::Operations::TextUndoHistoryState get(); };
public:
 property Microsoft::VisualStudio::Text::Operations::TextUndoHistoryState State { Microsoft::VisualStudio::Text::Operations::TextUndoHistoryState get(); };
public Microsoft.VisualStudio.Text.Operations.TextUndoHistoryState State { get; }
member this.State : Microsoft.VisualStudio.Text.Operations.TextUndoHistoryState
Public ReadOnly Property State As TextUndoHistoryState

Property Value

The state of the transaction.

Remarks

The state is either UndoTransactionState.Undoing or UndoTransactionState.Redoing.

Applies to