IDictionary<TKey,TValue>.ContainsKey Method

Definition

Determines whether the dictionary contains a specific key.

Delphi
function ContainsKey(const Key: TKey): Boolean;

Parameters

Key
TKey

The key to locate in the dictionary.

Returns

Boolean

True if the key is found in the dictionary; otherwise, false.