BindingSource::SortDescriptions Property
.NET Framework (current version)
Gets the collection of sort descriptions applied to the data source.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
public: [BrowsableAttribute(false)] property ListSortDescriptionCollection^ SortDescriptions { virtual ListSortDescriptionCollection^ 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::SortDescriptionsIf the list is not an IBindingListView, the SortDescriptions always returns null.
The ListSortDescriptionCollection is a read-only collection.
.NET Framework
Available since 2.0
Available since 2.0
Show: