ReadOnlyDictionary(Of TKey, TValue).ContainsKey Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines whether the dictionary contains an element with the specified key.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- key
- Type: TKey
The key to locate in the dictionary.
Return Value
Type: System.Booleantrue if the dictionary contains an element with the specified key; otherwise, false.
Implements
IDictionary(Of TKey, TValue).ContainsKey(TKey)IReadOnlyDictionary(Of TKey, TValue).ContainsKey(TKey)
Show: