ListSortDescriptionCollection::IList::Remove Method (Object^)
.NET Framework (current version)
Removes the first occurrence of an item from the collection.
Assembly: System (in System.dll)
Parameters
- value
-
Type:
System::Object^
The item to remove from the collection.
Implements
IList::Remove(Object^)| Exception | Condition |
|---|---|
| InvalidOperationException | In all cases. |
Because the ListSortDescriptionCollection class implements the System.Collections::IList interface, it must have a IList::Remove method. However, because the ListSortDescriptionCollection class represents a read-only collection, removing items from the collection is an invalid operation.
.NET Framework
Available since 2.0
Available since 2.0
Show: