Method ContainsKey ContainsKey(TKey) Returns a value indicating whether the dictionary contains the specified key. Declaration public bool ContainsKey(TKey key) Parameters Type Name Description TKey key Returns Type Description bool Implements ICollectionDictionary<TKey, TValue, TValueCollection>.ContainsKey(TKey) IReadOnlyDictionary<TKey, TValue>.ContainsKey(TKey)