Finalize Method

NativeWindow.Finalize Method ()


Releases the resources associated with this window.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

override Finalize : unit -> unit

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

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft