DestroyWindowCore Method

HwndHost.DestroyWindowCore Method (HandleRef)


When overridden in a derived class, destroys the hosted window.

Namespace:   System.Windows.Interop
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected abstract void DestroyWindowCore(
	HandleRef hwnd


Type: System.Runtime.InteropServices.HandleRef

A structure that contains the window handle.

System_CAPS_security Security Note

This type or member is not available in the Internet security zone.

Notes to Inheritors:

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

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft