This documentation is archived and is not being maintained.

WindowsFormsHost.Dispose Method

Releases all resources used by the WindowsFormsHost.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Public method Dispose() Immediately frees any system resources that the object might hold. (Inherited from HwndHost.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the WindowsFormsHost, and optionally releases the managed resources. (Overrides HwndHost.Dispose(Boolean).)