SortedList(Of TKey, TValue).IReadOnlyDictionary(Of TKey, TValue).Keys Property

.NET Framework (current version)
 

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

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

Private ReadOnly Property Keys As IEnumerable(Of TKey) Implements IReadOnlyDictionary(Of TKey, TValue).Keys

Property Value

Type: System.Collections.Generic.IEnumerable(Of TKey)

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

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

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

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