Share 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 (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
Public ReadOnly Property InUndoRedoOrRollback As Boolean
'Usage
Dim instance As Context 
Dim value As Boolean 

value = instance.InUndoRedoOrRollback
public bool InUndoRedoOrRollback { get; }
public:
property bool InUndoRedoOrRollback {
    bool get ();
}
public 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

Context Members

Microsoft.VisualStudio.Modeling Namespace