Partager via


ModelingAdapter.Dispose Method (Boolean)

Clean-up this ModelBusAdapter instance. Triggers a dispose of the DocumentHandler, if it has one.

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

Syntax

'Déclaration
Protected Overrides Sub Dispose ( _
    disposing As Boolean _
)
protected override void Dispose(
    bool disposing
)
protected:
virtual void Dispose(
    bool disposing
) override
abstract Dispose : 
        disposing:bool -> unit 
override Dispose : 
        disposing:bool -> unit 
protected override function Dispose(
    disposing : boolean
)

Parameters

  • disposing
    Type: System.Boolean
    true when called by Dispose; false when called by finalizer

.NET Framework Security

See Also

Reference

ModelingAdapter Class

Dispose Overload

Microsoft.VisualStudio.Modeling.Integration Namespace