Compartir a través de


Divider.Finalize Method

Frees the resources of the current Divider object before it is reclaimed by the garbage collector.

Namespace: Microsoft.Ink
Assembly: Microsoft.Ink (in microsoft.ink.dll)

Syntax

'Declaration
Protected Overrides Sub Finalize
'Usage

Me.Finalize
~Divider()
!Divider ()
protected void finalize ()
protected override function Finalize ()
Not applicable.

Remarks

In C# and Managed C++, finalizers are expressed using destructor syntax.

Note

when overriding the Finalize method in a derived class, call the Finalize method of the base class so that the object's resources are properly released.

The Divider object's Finalize method is automatically invoked during garbage collection unless finalization by the garbage collector is disabled by the System.GC.SuppressFinalize(System.Object)System.GC.SuppressFinalize(System.Object) method. Thus, application code should not call this method. Starting with the Microsoft .NET Framework software development kit (SDK), the following topics provide more information: Finalize Methods and Destructors, Cleaning Up Unmanaged ResourcesCleaning Up Unmanaged Resources, and Overriding the Finalize Method.

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

Divider Class
Divider Members
Microsoft.Ink Namespace