ListSortDescriptionCollection.IList.Remove(Object) ListSortDescriptionCollection.IList.Remove(Object) ListSortDescriptionCollection.IList.Remove(Object) Method

Definition

Removes the first occurrence of an item from the collection.

 virtual void System.Collections.IList.Remove(System::Object ^ value) = System::Collections::IList::Remove;
void IList.Remove (object value);
Sub Remove (value As Object) Implements IList.Remove

Parameters

value
Object Object Object

The item to remove from the collection.

Implements

Exceptions

Remarks

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.

Applies to