SortDescriptionCollection.SetItem(Int32, SortDescription) Metoda

Definicja

Zamienia element w określonym indeksie.

protected:
 override void SetItem(int index, System::ComponentModel::SortDescription item);
protected override void SetItem (int index, System.ComponentModel.SortDescription item);
override this.SetItem : int * System.ComponentModel.SortDescription -> unit
Protected Overrides Sub SetItem (index As Integer, item As SortDescription)

Parametry

index
Int32

Liczony od zera indeks elementu do zamiany.

item
SortDescription

Nowa wartość elementu z określonym indeksem.

Uwagi

Klasa bazowa wywołuje tę metodę, gdy element jest ustawiony w kolekcji. Ta implementacja CollectionChanged wywołuje zdarzenie.

Aby uzyskać więcej informacji, zobacz metodę SetItem klasy bazowej Collection<T> .

Dotyczy