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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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: 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

Microsoft.VisualStudio.Modeling.Shell Namespace