IDictionary(TKey, TValue).Keys Property

SortedDictionary(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 an ICollection(Of T) containing the keys of the IDictionary(Of TKey, TValue).

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

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

Implements

IDictionary(Of TKey, TValue).Keys

The keys in the returned ICollection(Of T) are sorted according to the Comparer property and are guaranteed to be in the same order as the corresponding values in the ICollection(Of T) returned by the Values property.

Getting the value of this property is an O(1) operation.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft