ListSortDescriptionCollection.Item[Int32] Özellik

Tanım

Belirtilen ListSortDescriptiondeğerini alır veya ayarlar.

public:
 property System::ComponentModel::ListSortDescription ^ default[int] { System::ComponentModel::ListSortDescription ^ get(int index); void set(int index, System::ComponentModel::ListSortDescription ^ value); };
public System.ComponentModel.ListSortDescription? this[int index] { get; set; }
public System.ComponentModel.ListSortDescription this[int index] { get; set; }
member this.Item(int) : System.ComponentModel.ListSortDescription with get, set
Default Public Property Item(index As Integer) As ListSortDescription

Parametreler

index
Int32

Koleksiyonda almak veya ayarlamak için sıfır tabanlı dizini ListSortDescription .

Özellik Değeri

ListSortDescription belirtilen dizine sahip.

Özel durumlar

içinde salt okunur bir öğe ayarlanır ListSortDescriptionCollection.

Açıklamalar

ListSortDescriptionCollection, bir kez oluşturulduğunda salt okunur olur ve bir öğe ayarlamaya çalışırsanız bir oluştururInvalidOperationException.

Şunlara uygulanır