SortedList: Values (get)

Values

Gets the values in the SortedList object.



 Public Property Get Values ( ) As ICollection

Return Values

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

Remarks

The ICollection object is a read-only view of the values 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 values of the SortedList.

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

Read Only.

See Also

Project CorLib Overview

Class SortedList Overview

ICollection

Keys

GetValueList