IBindingList.ApplySort メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > IBindingList.ApplySort メソッドの意味・解説 

IBindingList.ApplySort メソッド

PropertyDescriptor と ListSortDirection に基づいて並べ替えを行います。

名前空間: System.ComponentModel
アセンブリ: System (system.dll 内)
構文構文

Sub ApplySort ( _
    property As PropertyDescriptor, _
    direction As ListSortDirection _
)
Dim instance As IBindingList
Dim property As PropertyDescriptor
Dim direction As ListSortDirection

instance.ApplySort(property, direction)
void ApplySort (
    PropertyDescriptor property,
    ListSortDirection direction
)
void ApplySort (
    PropertyDescriptor^ property, 
    ListSortDirection direction
)
void ApplySort (
    PropertyDescriptor property, 
    ListSortDirection direction
)
function ApplySort (
    property : PropertyDescriptor, 
    direction : ListSortDirection
)

パラメータ

property

並べ替えのキーとなる PropertyDescriptor。

direction

ListSortDirection 値の 1 つ。

例外例外
例外の種類条件

NotSupportedException

SupportsSorting が false です。

解説解説

項目が追加または削除された場合、これらの項目は指定した並べ替え順序で配置されます。

このメソッドは、SupportsSorting が true の場合にサポートされます。それ以外の場合、このメソッドは NotSupportedException をスローします。

実装時の注意 このメソッドの実装は、Reset 列挙体で ListChanged イベントを発生させる必要があります。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「IBindingList.ApplySort メソッド」の関連用語

IBindingList.ApplySort メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



IBindingList.ApplySort メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS