Export (0) Print
Expand All

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)

'Declaration
<BrowsableAttribute(False)> _
Public Overridable ReadOnly Property SortDescriptions As ListSortDescriptionCollection

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, Nothing.

Implements

IBindingListView.SortDescriptions

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

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