IReadOnlyDictionary(TKey, TValue).Keys Property

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

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

Namespace:  System.Collections.ObjectModel
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
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.

Implements

IReadOnlyDictionary(Of TKey, TValue).Keys

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

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft