Share via


DocData.UndoManagerIsShared Property

Gets the document and verifies whether more than one document is sharing the same UndoManager interface.

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

Syntax

'Declaration
Protected Overridable ReadOnly Property UndoManagerIsShared As Boolean
protected virtual bool UndoManagerIsShared { get; }
protected:
virtual property bool UndoManagerIsShared {
    bool get ();
}
abstract UndoManagerIsShared : bool with get 
override UndoManagerIsShared : bool with get
function get UndoManagerIsShared () : boolean

Property Value

Type: Boolean
true if more than one document is sharing the same UndoManager interface; otherwise, false.

Remarks

By default, the return value is false.

If derived classes must share the same UndoManager interface among multiple documents, the derived classes should override this property to return true. Derived classes are responsible for disposing the UndoManager interface that they are sharing.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace