Clear Method

ComboBox::ObjectCollection::Clear Method ()

 

Removes all items from the ComboBox.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
virtual void Clear() sealed

Implements

IList::Clear()

When you remove items from the list, all information about the deleted items is lost. To remove a single item from the ComboBox, use the Remove or RemoveAt method.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft