共用方式為


Store.InUndoRedoOrRollback Property

Gets the store and verifies whether the current context of the store is being redone, undone, or rolled back.

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

Syntax

'宣告
Public ReadOnly Property InUndoRedoOrRollback As Boolean
    Get
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 store in either in a redo, an undo or a rollback; otherwise, false.

.NET Framework Security

See Also

Reference

Store Class

Microsoft.VisualStudio.Modeling Namespace