SortedList<TKey, TValue>.IReadOnlyDictionary<TKey, TValue>.Values Property

.NET Framework (current version)
 

Gets an enumerable collection that contains the values in the read-only dictionary.

Namespace:   System.Collections.Generic
Assembly:  System (in System.dll)

IEnumerable<TValue> IReadOnlyDictionary<TKey, TValue>.Values { get; }

Property Value

Type: System.Collections.Generic.IEnumerable<TValue>

An enumerable collection that contains the values in the read-only dictionary.

This member is an explicit interface member implementation. It can be used only when the SortedList<TKey, TValue> instance is cast to an IReadOnlyDictionary<TKey, TValue> interface.

The order of the values in the enumerable collection is unspecified, but the implementation must guarantee that the values are in the same order as the corresponding keys in the enumerable collection that is returned by the HYPERLINK "http://msdn.microsoft.com/en-us/library/hh192240(v=vs.110).aspx" Keys property.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.6
Return to top
Show: