HwndHost.DestroyWindowCore(HandleRef) Method

Definition

在衍生類別中覆寫時,終結所裝載的視窗。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)

Parameters

hwnd
HandleRef

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

Remarks

Important

此類型或成員無法在網際網路安全性區域中使用。This type or member is not available in the Internet security zone.

Notes to Implementers

覆寫這個方法,以終結 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).

Applies to