TDictionary<TKey,TValue>.TKeyCollection.Contains(TKey,IEqualityComparer) Method
Determines whether a sequence contains a specified element by using a specified IEqualityComparer<T>.
public function Contains(const value: TKey; const comparer: IEqualityComparer<TKey>): Boolean; override;
Parameters
- value
- Type: TKey
The value to locate in the sequence.
- comparer
- Type: IEqualityComparer<TKey>
An equality comparer to compare values.
Return Value
Type: Boolean
True if the source sequence contains an element that has the specified value; otherwise, False.