Share via


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: Boolean

    If true, this is a call to Dispose. If false, it means this method has been called from the finalizer.

.NET Framework Security

See Also

Reference

DisposableObject Class

Dispose Overload

Microsoft.VisualStudio.PlatformUI Namespace