TMultiMapBase<TKey,TValue>.Contains(TKey,TValue) Method
Determines whether the IMap<TKey,TValue> contains the specified key/value pair.
public function Contains(const key: TKey; const value: TValue): Boolean; override;
Parameters
- key
- Type: TKey
The key of the pair to locate in the IMap<TKey, TValue>.
- value
- Type: TValue
The value of the pair to locate in the IMap<TKey, TValue>.
Return Value
Type: Boolean
True if the IMap<TKey, TValue> contains a pair with the specified key and value; otherwise False.