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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public ReadOnly Property InUndoRedoOrRollback As Boolean
public bool InUndoRedoOrRollback { get; }
public:
property bool InUndoRedoOrRollback {
bool get ();
}
member InUndoRedoOrRollback : bool
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.