System.Windows.Forms.NativeWindow.Finalize Method

Releases the resources associated with this window.

Syntax

void Finalize ()

Remarks

The NativeWindow.Finalize method removes the Win32 derived class associated with the current System.Windows.Forms.NativeWindow instance, releases the handle, and posts a WM_CLOSE message to the associated window.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0