This documentation is archived and is not being maintained.

WebBrowser.Dispose Method

Immediately frees any system resources that the object might hold.

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

  NameDescription
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. (Inherited from ActiveXHost.)
Top

Security noteSecurity Note:

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

Derived classes can override this method (by the Dispose(Boolean) signature) if they need to do additional cleanup.

Show: