This documentation is archived and is not being maintained.

IBindingList.SortDirection Property

Gets the direction of the sort.

[Visual Basic]
ReadOnly Property SortDirection As ListSortDirection
[C#]
ListSortDirection SortDirection {get;}
[C++]
__property ListSortDirection get_SortDirection();
[JScript]
function get SortDirection() : ListSortDirection;

Property Value

One of the ListSortDirection values.

Exceptions

Exception Type Condition
NotSupportedException This property is not supported.

Remarks

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

IBindingList Interface | IBindingList Members | System.ComponentModel Namespace

Show: