SortedList: Keys (get)

Keys

Gets the keys in the SortedList object.



 Public Property Get Keys ( ) As ICollection

Return Values

ICollection -  An ICollection object containing the keys in the SortedList object.

Remarks

The ICollection object is a read-only view of the keys of the SortedList object. Modifications made to the underlying SortedList are immediately reflected in the ICollection.

The elements of the ICollection are sorted in the same order as the keys of the SortedList.

This property is similar to the GetKeyList method, but returns an ICollection object instead of an IList object.

Read Only.

See Also

Project CorLib Overview

Class SortedList Overview

ICollection

Values

GetKeyList