IBindingList.IsSorted Property
.NET Framework 4
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 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.