SortedList.GetKeyList Method ()
.NET Framework (current version)
mscorlib (in mscorlib.dll)
abstract GetKeyList : unit -> IList
override GetKeyList : unit -> IList
The returned IList object is a read-only view of the keys of the SortedList object. Modifications made to the underlying SortedList are immediately reflected in the IList.
The elements of the returned IList are sorted in the same order as the keys of the SortedList.
This method is similar to the Keys property, but returns an IList object instead of an ICollection object.
This method is an O(1) operation.
The following code example shows how to get one or all the keys or values in a SortedList object.
No code example is currently available or this language may not be supported.
Return to top
Universal Windows Platform
Available since 10
Available since 1.1