Dictionary<TKey, TValue>.IDictionary<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<T> containing the keys of the IDictionary<TKey, TValue>.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System.Collections.Generic.ICollection<TKey>An ICollection<T> of type TKey containing the keys of the IDictionary<TKey, TValue>.
Implements
IDictionary<TKey, TValue>.KeysThe order of the keys in the returned ICollection<T> is unspecified, but it is guaranteed to be the same order as the corresponding values in the ICollection<T> returned by the Values property.
Getting the value of this property is an O(1) operation.
Show: