Partager via


TextUndoRedoEventArgs.State Property

Gets the state of the transaction.

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

Syntax

'Declaration
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

Property Value

Type: Microsoft.VisualStudio.Text.Operations.TextUndoHistoryState
The state of the transaction.

Remarks

The state is either Undoing or Redoing.

.NET Framework Security

See Also

Reference

TextUndoRedoEventArgs Class

Microsoft.VisualStudio.Text.Operations Namespace