HwndHost.DestroyWindowCore(HandleRef) HwndHost.DestroyWindowCore(HandleRef) HwndHost.DestroyWindowCore(HandleRef) HwndHost.DestroyWindowCore(HandleRef) Method

定義

當在衍生類別中覆寫時,終結所裝載的視窗。When overridden in a derived class, destroys the hosted window.

protected:
 abstract void DestroyWindowCore(System::Runtime::InteropServices::HandleRef hwnd);
protected abstract void DestroyWindowCore (System.Runtime.InteropServices.HandleRef hwnd);
abstract member DestroyWindowCore : System.Runtime.InteropServices.HandleRef -> unit
Protected MustOverride Sub DestroyWindowCore (hwnd As HandleRef)

參數

hwnd
HandleRef HandleRef HandleRef HandleRef

結構,包含視窗控制代碼。A structure that contains the window handle.

備註

重要

這個類型或成員不可以使用網際網路安全性區域中。This type or member is not available in the Internet security zone.

給繼承者的注意事項

覆寫這個方法所建立,終結所裝載之的視窗BuildWindowCore(HandleRef)Override this method to destroy the hosted window as created by BuildWindowCore(HandleRef). hwnd參數應該是控制代碼,傳回BuildWindowCore(HandleRef)The hwnd parameter should be the handle as returned by BuildWindowCore(HandleRef).

適用於