Export (0) Print
Expand All

NativeWindow.Finalize Method

Releases the resources associated with this window.

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

abstract Finalize : unit -> unit  
override Finalize : unit -> unit

Implements

Object.Finalize()

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft