ListSortDescriptionCollection.IList.RemoveAt(Int32) Metoda

Definicja

Usuwa element z kolekcji w określonym indeksie.

 virtual void System.Collections.IList.RemoveAt(int index) = System::Collections::IList::RemoveAt;
void IList.RemoveAt (int index);
abstract member System.Collections.IList.RemoveAt : int -> unit
override this.System.Collections.IList.RemoveAt : int -> unit
Sub RemoveAt (index As Integer) Implements IList.RemoveAt

Parametry

index
Int32

Indeks zerowy ListSortDescription klasy do usunięcia z kolekcji.

Implementuje

Wyjątki

We wszystkich przypadkach.

Uwagi

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

Dotyczy