IBindingListView.ApplySort(ListSortDescriptionCollection) 方法

定义

根据给定的 ListSortDescriptionCollection 对数据源进行排序。

public:
 void ApplySort(System::ComponentModel::ListSortDescriptionCollection ^ sorts);
public void ApplySort (System.ComponentModel.ListSortDescriptionCollection sorts);
abstract member ApplySort : System.ComponentModel.ListSortDescriptionCollection -> unit
Public Sub ApplySort (sorts As ListSortDescriptionCollection)

参数

sorts
ListSortDescriptionCollection

包含要应用于数据源的顺序的 ListSortDescriptionCollection

注解

构造 ListSortDescriptionCollection 后,是只读集合。

适用于

另请参阅