GestureRecognizer.Finalize Method

GestureRecognizer.Finalize Method

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

Definition

Visual Basic .NET Overrides Protected Sub Finalize()
C# ~GestureRecognizer();
Managed C++ ~GestureRecognizer();

Remarks

[C#] In C#, finalizers are expressed by using destructor syntax.

[Managed C++] In Managed C++, finalizers are expressed by using destructor syntax.

This method overrides the Object.Finalize Leave Site method. Application code should not call this method; a GestureRecognizer 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 Leave Site method. For more information, see Finalize Methods and Destructors Leave Site, Cleaning Up Unmanaged Resources Leave Site, and Overriding the Finalize Method Leave Site, in the Microsoft® .NET Framework software development kit (SDK).