TMapBase<TKey,T>.Contains(TKey,T) Method

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

Namespace: Spring.Collections.Base
public
 function Contains(const key: TKey; const value: T): Boolean; overload; virtual; abstract;

Parameters

key
Type: TKey

The key of the pair to locate in the IMap<TKey, TValue>.

value
Type: T

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.

Implements

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