IBindingList.SortDirection Property


Gets the direction of the sort.

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

abstract SortDirection : ListSortDirection with get

Property Value

Type: System.ComponentModel.ListSortDirection

One of the ListSortDirection values.

Exception Condition

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