IBindingListView.ApplySort(ListSortDescriptionCollection) 方法

定义

根据给定的 ListSortDescriptionCollection 对数据源进行排序。Sorts the data source based on the given 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

包含要应用于数据源的顺序的 ListSortDescriptionCollectionThe ListSortDescriptionCollection containing the sorts to apply to the data source.

注解

构造后,@no__t 为只读集合。The ListSortDescriptionCollection is a read-only collection, once constructed.

适用于

另请参阅