TFPCustomHashTable.Find¶
Search for an item with a certain key value.
Declaration¶
Source position: contnrs.pp line 400
public
function TFPCustomHashTable.Find(const aKey: AnsiString) : THTCustomNode;
Description¶
Find searches for the THTCustomNode instance with key value equal to Akey and if it finds it, it returns the instance. If no matching value is found, Nil is returned.
Note that the instance returned by this function cannot be freed; If it should be removed from the hash table, the Delete method should be used instead.
Errors¶
None.