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: Booleantrueto 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.