System.Generics.Collections.TDictionary.ContainsValue
Delphi
function ContainsValue(const Value: TValue): Boolean;
C++
bool __fastcall ContainsValue(const TValue Value);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| function | public | System.Generics.Collections.pas System.Generics.Collections.hpp | System.Generics.Collections | TDictionary | 
Description
Check if value in dictionary.
ContainsValue returns true if the given value is in the dictionary and false otherwise. This is an O(n) operation, where n is the number of entries in the dictionary.
See Also
Code Examples