System.ComponentModel.IBindingListView.ApplySort Method

Sorts the data source based on the given System.ComponentModel.ListSortDescriptionCollection.

Syntax

public void ApplySort (ListSortDescriptionCollection sorts)

Parameters

sorts
The System.ComponentModel.ListSortDescriptionCollection containing the sorts to apply to the data source.

Remarks

The System.ComponentModel.ListSortDescriptionCollection is a read-only collection, once constructed.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0