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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.