ListView::SelectedIndexCollection::IList::Remove Method (Object^)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Removes the first occurrence of a specified item from the collection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- value
-
Type:
System::Object^
The object to remove from the ListView::SelectedIndexCollection.
Implements
IList::Remove(Object^)| Exception | Condition |
|---|---|
| NotSupportedException | Always thrown. |
You cannot change the ListView::SelectedIndexCollection class directly. To remove an item from the ListView::SelectedIndexCollection, use the Selected property.
.NET Framework
Available since 1.1
Available since 1.1
Show: