Partager via


DocData.Dispose Method (Boolean)

Disposes the DocData.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.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: Boolean

    trueto release both managed and unmanaged resources; false to release only unmanaged resources.

Remarks

You must call this in order to release event sinks that the DocData has connected.

.NET Framework Security

See Also

Reference

DocData Class

Dispose Overload

Microsoft.VisualStudio.Shell.Design.Serialization Namespace