SortDescriptionCollection.SetItem(Int32, SortDescription) Metoda

Definicja

Zastępuje 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

Indeks zerowy elementu do zastąpienia.

item
SortDescription

Nowa wartość elementu w określonym indeksie.

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 SetItem metodę klasy bazowej Collection<T> .

Dotyczy