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 使用して、オブジェクトを追加 SortDescription する前に、現在の実装で並べ替えがサポートされているかどうかをテストします SortDescriptionCollection

注意

このプロパティは、コレクション オブジェクトにアクセスし、次のような Addさまざまなメソッドを使用することによってのみ設定できます。 コレクション オブジェクトにアクセスするプロパティは読み取り専用ですが、コレクション自体は読み取り/書き込みです。

適用対象