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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'宣告
Protected Overridable ReadOnly Property UndoManagerIsShared As Boolean
Get
protected virtual bool UndoManagerIsShared { get; }
protected:
virtual property bool UndoManagerIsShared {
bool get ();
}
abstract UndoManagerIsShared : bool
override UndoManagerIsShared : bool
function get UndoManagerIsShared () : boolean
Property Value
Type: System.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
- 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.