DependencyObject.Finalize DependencyObject.Finalize DependencyObject.Finalize DependencyObject.Finalize Method

定義

提供做為對 Finalize() 的覆寫,以決定性的清除任何 Unmanaged 的資源。Provided as an override to Finalize() to clean up any unmanaged resources deterministically.

!DependencyObject ()
~DependencyObject ();
override this.Finalize : unit -> unit
Finalize ()

備註

一般而言,只有在已釋放 Unmanaged 的資源 (例如原始 HWNDS、Win32 檔案處理常式及其他) 時,才需要這個項目。Typically, this is required only when unmanaged resources such as raw HWNDS, Win32 files handlers, and others are released.

適用於