InkOverlay.Finalize Method
Frees the resources of the current InkOverlay 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
~InkOverlay()
!InkOverlay ()
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.
This method overrides the Object.FinalizeObject.Finalize method. Application code should not call this method; a InkOverlay object's Finalize method is automatically invoked during garbage collection, unless finalization by the garbage collector has been disabled by a call to the GC.SuppressFinalizeGC.SuppressFinalize method. For more information, see Finalize Methods and Destructors, Cleaning Up Unmanaged ResourcesCleaning Up Unmanaged Resources, and Overriding the Finalize Method, in the Microsoft .NET Framework software development kit (SDK).
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