IMap<TKey,TValue>.Contains Method

Overloads

Contains(TKey, TValue)

Determines whether the map contains an element with the specified key/value pair.

Contains(TKey, TValue)

Determines whether the map contains an element with the specified key/value pair.

Delphi
function Contains(const key: TKey; const value: TValue): Boolean

Parameters

key
TKey

The key of the element to locate in the map.

value
TValue

The value of the element to locate in the map.

Returns

Boolean

True if the map contains an element with the specified key and value; otherwise, False .