ListSortDescriptionCollection.Item[Int32] 屬性

定義

取得或設定指定的 ListSortDescription

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

參數

index
Int32

要在集合中取得或設定之 ListSortDescription 的以零起始的索引。

屬性值

具有指定索引的 ListSortDescription

例外狀況

備註

ListSortDescriptionCollection是唯讀的一次建構,如果您嘗試設定專案,則會擲回 InvalidOperationException

適用於