ListSortDescriptionCollection.Item[Int32] 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定指定的 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
集合中 to get 或 set 的 ListSortDescription 零基索引。
屬性值
該 ListSortDescription 索引為指定。
例外狀況
一個項目被設定在 ListSortDescriptionCollection中,且為唯讀。
備註
一旦建構完成,該ListSortDescriptionCollection物件是唯讀的,當你嘗試設定項目時會拋出 。InvalidOperationException