Export (0) Print
Expand All

SortedList.Values Property

Gets the values in the SortedList.

[Visual Basic]
Public Overridable ReadOnly Property Values As ICollection  _
   Implements IDictionary.Values
[C#]
public virtual ICollection Values {get;}
[C++]
public: __property virtual ICollection* get_Values();
[JScript]
public function get Values() : ICollection;

Property Value

An ICollection containing the values in the SortedList.

Implements

IDictionary.Values

Remarks

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

Similar to GetValueList, but returns an ICollection instead of an IList.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SortedList Class | SortedList Members | System.Collections Namespace | ICollection | Keys | GetValueList | Performing Culture-Insensitive String Operations in Collections

Show:
© 2014 Microsoft