This documentation is archived and is not being maintained.

ActiveXHost.Dispose Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Releases the resources that are used by the ActiveXHost.

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) Infrastructure. Releases the unmanaged resources that are used by the ActiveXHost and optionally releases the managed resources. (Overrides HwndHost.Dispose(Boolean).)