IBindingList.IsSorted Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets whether the items in the list are sorted.

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

abstract IsSorted : bool with get

Property Value

Type: System.Boolean

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

Exception Condition
NotSupportedException

SupportsSorting is false.

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.

.NET Framework
Available since 1.1
Return to top
Show: