System.Windows.Forms.BindingSource.ApplySort Method

Sorts the data source with the specified sort descriptions.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public virtual void ApplySort (System.ComponentModel.ListSortDescriptionCollection sorts)

Parameters

sorts
A System.ComponentModel.ListSortDescriptionCollection containing the sort descriptions to apply to the data source.

Remarks

System.ComponentModel.IBindingListView implements multi-column sorting as a set of property descriptor-direction pairs.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0