BindingListCollectionView.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 オブジェクトのコレクション。

注釈

複数 BindingListCollectionView のオブジェクトがあり、基になるソースが a または a DataTable DataViewの場合、ビュー オブジェクトは個別に並べ替えやフィルター処理を行いません。 たとえば、2 つの BindingListCollectionView オブジェクトが同じ DataTable に関連付けられている場合、1 つのビューで並べ替えを実行すると、もう一方のビューの項目の順序が影響を受ける可能性があります。 これは、オブジェクトが基になるIBindingList機能を使用して並べ替えとフィルター処理を行うためBindingListCollectionViewです。

注意

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

適用対象