Partager via


Context.InUndoRedoOrRollback Property

Indicates whether the context is undoing an operation, redoing an operation, or rolling back a transaction.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public ReadOnly Property InUndoRedoOrRollback As Boolean
public bool InUndoRedoOrRollback { get; }
public:
property bool InUndoRedoOrRollback {
    bool get ();
}
member InUndoRedoOrRollback : bool with get
function get InUndoRedoOrRollback () : boolean

Property Value

Type: System.Boolean
true if the context is undoing an operation, redoing an operation, or rolling back a transaction; otherwise, false.

.NET Framework Security

See Also

Reference

Context Class

Microsoft.VisualStudio.Modeling Namespace