Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HwndHost.DestroyWindowCore(HandleRef) Method

Definition

Namespace:
System.Windows.Interop
Assembly:
PresentationFramework.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Override this method to destroy the hosted window as created by BuildWindowCore(HandleRef). The hwnd parameter should be the handle as returned by BuildWindowCore(HandleRef).

Applies to


Feedback

Was this page helpful?