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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.