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 _
)
'Usage
Dim disposing As Boolean 

Me.Dispose(disposing)
protected virtual void Dispose(
    bool disposing
)
protected:
virtual void Dispose(
    bool disposing
)
protected function Dispose(
    disposing : boolean
)

Parameters

  • disposing
    Type: System.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

DocData Members

Dispose Overload

Microsoft.VisualStudio.Shell.Design.Serialization Namespace