IBindingList.IsSorted Property
.NET Framework 4.5
Gets whether the items in the list are sorted.
Assembly: System (in System.dll)
Property Value
Type: System.Booleantrue 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.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.