Skip to content

TFPStringHashTable.Iterate

Iterate over the strings in the hash table.

Declaration

Source position: contnrs.pp line 470

public 
function Iterate(aMethod: TStringIteratorMethod) : AnsiString;  virtual;

function Iterate(aMethod: TStringIteratorCallback) : AnsiString
                ;  virtual;

Description

Iterate iterates over all elements in the array, calling aMethod for each string, or until the method returns False in its continue parameter. It returns an empty string if all elements were processed, or the string that was being processed when aMethod returned False in the Continue parameter.