ListView::CheckedIndexCollection::IList::Clear Method ()
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Removes all items from the collection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
| Exception | Condition |
|---|---|
| NotSupportedException | Always thrown. |
You cannot change the ListView::CheckedIndexCollection class directly. To clear the ListView::CheckedIndexCollection, set the Checked property to false for each ListViewItem in the ListView::ListViewItemCollection.
.NET Framework
Available since 1.1
Available since 1.1
Show: