ListSortDescriptionCollection::IList::RemoveAt Method (Int32)
.NET Framework (current version)
Removes an item from the collection at a specified index.
Assembly: System (in System.dll)
Parameters
- index
-
Type:
System::Int32
The zero-based index of the ListSortDescription to remove from the collection
Implements
IList::RemoveAt(Int32)| Exception | Condition |
|---|---|
| InvalidOperationException | In all cases. |
Because the ListSortDescriptionCollection class implements the System.Collections::IList interface, it must have a IList::RemoveAt 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: