Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IBindingList::SortDirection Property

 

Gets the direction of the sort.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

property ListSortDirection SortDirection {
	ListSortDirection get();
}

Property Value

Type: System.ComponentModel::ListSortDirection

One of the ListSortDirection values.

Exception Condition
NotSupportedException

SupportsSorting is false.

This property is supported if SupportsSorting is true; otherwise, this property throws a NotSupportedException.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft