Condividi tramite


ModelingDocData.UndoManager Property

Gets the UndoManager class, which you can use to undo and redo operations in the modeling designer store.

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

Syntax

'Declaration
Public Overrides ReadOnly Property UndoManager As UndoManager
public override UndoManager UndoManager { get; }
public:
virtual property UndoManager^ UndoManager {
    UndoManager^ get () override;
}
abstract UndoManager : UndoManager with get 
override UndoManager : UndoManager with get
override function get UndoManager () : UndoManager

Property Value

Type: Microsoft.VisualStudio.Modeling.Shell.UndoManager
The UndoManager class. Or, if the store has been disposed, nulla null reference (Nothing in Visual Basic).

Remarks

Documents that share a store can share the same UndoManager class.

.NET Framework Security

See Also

Reference

ModelingDocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace