Share via


ReadOnlyDictionary45<TKey,TValue>.ContainsKey(TKey) Method

Definition

Reports whether a key exists in the dictionary

public bool ContainsKey (TKey key);
abstract member ContainsKey : 'Key -> bool
override this.ContainsKey : 'Key -> bool
Public Function ContainsKey (key As TKey) As Boolean

Parameters

key
TKey

The key to check

Returns

True if exists, othewise fals

Implements

Applies to