Export (0) Print
Expand All

WindowsFormsHost.Dispose Method (Boolean)

Releases the unmanaged resources used by the WindowsFormsHost, and optionally releases the managed resources.

Namespace: System.Windows.Forms.Integration
Assembly: WindowsFormsIntegration (in windowsformsintegration.dll)

protected override void Dispose (
	bool disposing
)
protected void Dispose (
	boolean disposing
)
protected override function Dispose (
	disposing : boolean
)
Not applicable.

Parameters

disposing

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Calling the Dispose method disposes the base HwndHost and the Child control.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft