SortedList::Values Property
Gets the values in a SortedList object.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.Collections::ICollection^An ICollection object containing the values in the SortedList object.
Implements
IDictionary::ValuesThe 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.
This method is an O(1) operation.
Available since 10
.NET Framework
Available since 1.1