IDictionary(TKey, TValue).Keys Property

ReadOnlyDictionary(Of TKey, TValue).IDictionary(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 a collection that contains the keys of the dictionary.

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

'Declaration
Private ReadOnly Property Keys As ICollection(Of TKey)
	Implements IDictionary(Of TKey, TValue).Keys

Property Value

Type: System.Collections.Generic.ICollection(Of TKey)
A collection that contains the keys of the object that implements ReadOnlyDictionary(Of TKey, TValue).

Implements

IDictionary(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 IDictionary(Of TKey, TValue) interface.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft