ItemCollection.SortDescriptions 屬性

定義

取得 SortDescription 物件的集合,說明集合內的項目如何在檢視中分組。

public:
 virtual property System::ComponentModel::SortDescriptionCollection ^ SortDescriptions { System::ComponentModel::SortDescriptionCollection ^ get(); };
public override System.ComponentModel.SortDescriptionCollection SortDescriptions { get; }
member this.SortDescriptions : System.ComponentModel.SortDescriptionCollection
Public Overrides ReadOnly Property SortDescriptions As SortDescriptionCollection

屬性值

SortDescriptionCollection

SortDescription 物件的集合,說明集合內的項目如何在檢視中分組。

備註

CanSort使用 屬性來測試目前實作是否支援排序,再將 物件加入 SortDescriptionSortDescriptionCollection

注意

這個屬性只能藉由存取集合物件並使用其各種方法來設定,例如 Add 。 存取集合物件的屬性是唯讀的,而集合本身則是讀寫。

適用於