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
要在集合中取得或設定之 ListSortDescription 的以零起始的索引。
屬性值
具有指定索引的 ListSortDescription。
例外狀況
備註
ListSortDescriptionCollection是唯讀的一次建構,如果您嘗試設定專案,則會擲回 InvalidOperationException 。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應