DisposableObject.Dispose Method (Boolean)
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Standard virtual overload for IDisposable pattern.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Protected Sub Dispose ( _
disposing As Boolean _
)
protected void Dispose(
bool disposing
)
protected:
void Dispose(
bool disposing
)
member Dispose :
disposing:bool -> unit
protected function Dispose(
disposing : boolean
)
Parameters
disposing
Type: BooleanIf true, this is a call to Dispose. If false, it means this method has been called from the finalizer.
.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.