共用方式為


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

'宣告
Protected Overridable Sub Dispose ( _
    disposing As Boolean _
)
protected virtual void Dispose(
    bool disposing
)

Parameters

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