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
'Dichiarazione
Protected Overridable Sub Dispose ( _
disposing As Boolean _
)
'Utilizzo
Dim disposing As Boolean
Me.Dispose(disposing)
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: 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
- 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.