ModelingDocStore.ShouldDisposeStore Property
Gets the modeling document store and verifies whether the store should be disposed.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Protected Overridable ReadOnly Property ShouldDisposeStore As Boolean
protected virtual bool ShouldDisposeStore { get; }
protected:
virtual property bool ShouldDisposeStore {
bool get ();
}
abstract ShouldDisposeStore : bool with get
override ShouldDisposeStore : bool with get
function get ShouldDisposeStore () : boolean
Property Value
Type: System.Boolean
true if the store should be disposed; otherwise, false.
Remarks
By default, the store is disposed when no editors are using it. Derived classes can override this behavior to prevent the disposal of the store.
.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.