Share via


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

Syntax

'Declaration
Protected Overridable ReadOnly Property ShouldDisposeStore As Boolean
'Usage
Dim value As Boolean 

value = Me.ShouldDisposeStore
protected virtual bool ShouldDisposeStore { get; }
protected:
virtual property bool ShouldDisposeStore {
    bool get ();
}
protected 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

See Also

Reference

ModelingDocStore Class

ModelingDocStore Members

Microsoft.VisualStudio.Modeling.Shell Namespace