Redigera

Dela via


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);
void IList.Remove (object? value);
abstract member System.Collections.IList.Remove : obj -> unit
override this.System.Collections.IList.Remove : obj -> unit
Sub Remove (value As Object) Implements IList.Remove

Parameters

value
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