Share via


TextInputPanel.Finalize Method

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

Namespace:  Microsoft.Ink.TextInput
Assembly:  Microsoft.Ink (in Microsoft.Ink.dll)

Syntax

'Declaration
Protected Overrides Sub Finalize
'Usage
Me.Finalize()
protected override void Finalize()
protected:
virtual void Finalize() override
protected override function Finalize()

Remarks

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

Note

to Inheritors 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.Finalize method. Application code should not call this method; a TextInputPanel 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.SuppressFinalize method. For more information, see Finalize Methods and Destructors, Cleaning, and Overriding the Finalize Method, in the Microsoft® .NET Framework software development kit (SDK).

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

TextInputPanel Class

TextInputPanel Members

Microsoft.Ink.TextInput Namespace