ListSortDescriptionCollection.IList.RemoveAt(Int32) Method

Definition

Removes an item from the collection at a specified index.

 virtual void System.Collections.IList.RemoveAt(int index) = System::Collections::IList::RemoveAt;
void IList.RemoveAt (int index);
Sub RemoveAt (index As Integer) Implements IList.RemoveAt

Parameters

index
Int32

The zero-based index of the ListSortDescription to remove from the collection

Implements

Exceptions

Remarks

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.

Applies to