ContainsKeyAsync Method ContainsKeyAsync(TKey) Determines whether this map contains an entry for the specified key. Declaration Task<bool> ContainsKeyAsync(TKey key) Parameters TKey key The key. Returns Task<Boolean> true if the specified key contains key; otherwise false.