BindingListCollectionView.SortDescriptions プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ビューでコレクション内の項目を並べ替える方法を説明する 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
プロパティ値
ビュー内のコレクション内の項目の並べ替え方法を説明する SortDescription オブジェクトのコレクション。
注釈
複数の BindingListCollectionView オブジェクトがあり、基になるソースが DataTable または DataViewである場合、ビュー オブジェクトは個別に並べ替えたりフィルター処理したりすることはありません。 たとえば、同じBindingListCollectionViewに関連付けられた 2 つのDataTable オブジェクトがあり、いずれかのビューで並べ替えを実行すると、他のビューの項目の順序が影響を受ける可能性があります。 これは、 BindingListCollectionView オブジェクトが基になる IBindingList を使用して、並べ替えとフィルター処理の機能を行うためです。
Note
このプロパティは、コレクション オブジェクトにアクセスし、 Addなどのさまざまなメソッドを使用することによってのみ設定できます。 コレクション オブジェクト自体にアクセスするプロパティは読み取り専用です。コレクション自体は読み取り/書き込みです。