Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SortDescriptions Property

BindingSource.SortDescriptions Property

Gets the collection of sort descriptions applied to the data source.

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

[BrowsableAttribute(false)]
public virtual ListSortDescriptionCollection SortDescriptions { get; }

Property Value

Type: System.ComponentModel.ListSortDescriptionCollection
If the data source is an IBindingListView, a ListSortDescriptionCollection that contains the sort descriptions applied to the list; otherwise, null.

Implements

IBindingListView.SortDescriptions

If the list is not an IBindingListView, the SortDescriptions always returns null.

The ListSortDescriptionCollection is a read-only collection.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft