TMapBase<TKey,T>.ContainsKey(TKey) Method
Determines whether the IMap<TKey, TValue> contains an element with the specified key.
public
function ContainsKey(const key: TKey): Boolean; virtual; abstract;
Parameters
- key
- Type: TKey
The key to locate in the IMap<TKey, TValue>.
Return Value
Type: Boolean
True if the IMap<TKey, TValue> contains an element with the key; otherwise, False.
Implements
IMap<TKey,TValue>.ContainsKey(TKey)IReadOnlyMap<TKey,TValue>.ContainsKey(TKey)