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

Syntax

'宣言
Public Overrides ReadOnly Property UndoManager As UndoManager
'使用
Dim instance As ModelingDocData
Dim value As UndoManager

value = instance.UndoManager
public override UndoManager UndoManager { get; }
public:
virtual property UndoManager^ UndoManager {
    UndoManager^ get () override;
}
public override function get UndoManager () : UndoManager

Property Value

Type: Microsoft.VisualStudio.Modeling.Shell.UndoManager

The UndoManager class. Or, if the store has been disposed, a null reference (Nothing in Visual Basic).

Remarks

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

Permissions

See Also

Reference

ModelingDocData Class

ModelingDocData Members

Microsoft.VisualStudio.Modeling.Shell Namespace