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

Syntax

protected virtual void Dispose(
    bool disposing
)
protected:
virtual void Dispose(
    bool disposing
)
abstract Dispose : 
        disposing:bool -> unit
override Dispose : 
        disposing:bool -> unit
Protected Overridable Sub Dispose (
    disposing As Boolean
)

Parameters

  • disposing
    Type: System.Boolean

    True if called from IDisposable.Dispose(), false if from destructor.

Return Value

See Also

Dispose Overload
ModelingDocumentHandler Class
Microsoft.VisualStudio.Modeling.Integration Namespace

Return to top