IMap<TKey,TValue>.Contains(TKey,TValue) Method

Determines whether the IMap<TKey,TValue> contains the specified key/value pair.

Namespace: Spring.Collections
public
 function Contains(const key: TKey; const value: TValue): Boolean;

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.