共用方式為


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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Protected Sub Dispose ( _
    disposing As Boolean _
)
protected void Dispose(
    bool disposing
)

Parameters

  • disposing
    Type: System.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