ListSortDescriptionCollection.IList.Remove(Object) Metoda

Definicja

Usuwa pierwsze wystąpienie elementu z kolekcji.

 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

Parametry

value
Object

Element do usunięcia z kolekcji.

Implementuje

Wyjątki

We wszystkich przypadkach.

Uwagi

ListSortDescriptionCollection Ponieważ klasa implementuje System.Collections.IList interfejs, musi mieć metodęIList.Remove. Jednak ponieważ ListSortDescriptionCollection klasa reprezentuje kolekcję tylko do odczytu, usuwanie elementów z kolekcji jest nieprawidłową operacją.

Dotyczy