Share via


ModelingDocumentHandler.Dispose Method (Boolean)

Dispose this ModelingDocumentHandler instance. The base class does nothing. Derived ModelingDocumentHandler implementations can choose to do additional work, including persist unsaved data, free up resources, etc.

Namespace:  Microsoft.VisualStudio.Modeling.Integration
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)

Syntax

'Declaration
Protected Overridable Sub Dispose ( _
    disposing As Boolean _
)
protected virtual void Dispose(
    bool disposing
)
protected:
virtual void Dispose(
    bool disposing
)
abstract Dispose : 
        disposing:bool -> unit 
override Dispose : 
        disposing:bool -> unit 
protected function Dispose(
    disposing : boolean
)

Parameters

  • disposing
    Type: System.Boolean
    True if called from IDisposable.Dispose(), false if from destructor.

.NET Framework Security

See Also

Reference

ModelingDocumentHandler Class

Dispose Overload

Microsoft.VisualStudio.Modeling.Integration Namespace