ListView.CheckedListViewItemCollection.IList.Clear Method

Definition

Removes all items from the collection.

 virtual void System.Collections.IList.Clear() = System::Collections::IList::Clear;
void IList.Clear ();
Sub Clear () Implements IList.Clear

Implements

Exceptions

Always thrown.

Remarks

You cannot change the ListView.CheckedListViewItemCollection class directly. To clear the ListView.CheckedListViewItemCollection, set the ListViewItem.Checked property to false for each ListViewItem in the ListView.ListViewItemCollection.

Applies to