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

Determines whether the IMap<TKey, TValue> contains an element with the specified key.

Namespace: Spring.Collections
public
 function ContainsKey(const key: TKey): Boolean;

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.