Share via


ListBox.Dispose Method

Include Protected Members
Include Inherited Members

Releases the unmanaged resources used by the ListBox and optionally releases the managed resources.

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

Overload List

  Name Description
Public method Dispose() Releases all resources used by the Component. (Inherited from Component.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the ListBox and optionally releases the managed resources. (Overrides Control.Dispose(Boolean).)

Top

See Also

Reference

ListBox Class

Microsoft.Office.Tools.Excel.Controls Namespace