This documentation is archived and is not being maintained.

IBindingList.IsSorted Property

Gets whether the items in the list are sorted.

[Visual Basic]
ReadOnly Property IsSorted As Boolean
bool IsSorted {get;}
__property bool get_IsSorted();
function get IsSorted() : Boolean;

Property Value

true if ApplySort has been called and RemoveSort has not been called; otherwise, false.


Exception Type Condition
NotSupportedException This property is not supported.


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

If IsSorted returns true, items are added or removed in the order of the sort.


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