Skip to content

TStringIteratorCallback

Iterator callback type.

Declaration

Source position: contnrs.pp line 457

type
  TStringIteratorCallback = procedure(Item: AnsiString; 
                                    const Key: AnsiString; 
                                    var Continue: Boolean);

Arguments

Name Description
Item String associated with key.
Key Key value.
Continue Should iterate continue or stop ?

Description

TStringIteratorCallBack is the callback prototype for the TFPStringHashTable method. It is called for each element in the hash table, with the string. If Continue is set to False, the iteration stops.

See also

Name Description
TFPStringHashTable Iterate over the strings in the hash table.