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

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

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

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.

Overrides

TMapBase<TKey,T>.ContainsKey(TKey)