[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Look up value based on a key
Source position: db.pas line 262
public function TLookupList.ValueOfKey( |
const AKey: Variant |
):Variant; |
AKey |
|
Key to find associated value for. |
Resulting value or Null
ValueOfKey does a value lookup based on a key: it returns the value in the list that matches the AKey key. If none is found, Null is returned. This mechanism is quite slow, as a linear search is performed.
|
Find the first key that matches a value |
|
|
Add a key, value pair to the list |