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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Declaração
Protected Overridable ReadOnly Property ShouldDisposeStore As Boolean
Get
protected virtual bool ShouldDisposeStore { get; }
protected:
virtual property bool ShouldDisposeStore {
bool get ();
}
abstract ShouldDisposeStore : bool
override ShouldDisposeStore : bool
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.