共用方式為


DisposableObject.Finalize Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Protected Overrides Sub Finalize
protected override void Finalize()

.NET Framework Security

See Also

Reference

DisposableObject Class

Microsoft.VisualStudio.PlatformUI Namespace