Export (0) Print
Expand All

IBindingList.IsSorted Property

Gets whether the items in the list are sorted.

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

Property Value

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

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.

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

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:
© 2015 Microsoft