Unit 'Contnrs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPStringHashTable.Iterate

Iterate over the strings in the hash table.

Declaration

Source position: contnrs.pp line 467

public function TFPStringHashTable.Iterate(

  aMethod: TStringIteratorMethod

):AnsiString; virtual;

function TFPStringHashTable.Iterate(

  aMethod: TStringIteratorCallback

):AnsiString; virtual;

Arguments

aMethod

  

Method to call for each string in the hash table.

Function result

Empty or the string that caused the iterate to abort.

Arguments

aMethod

  

Method to call for each string in the hash table.

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.


Documentation generated on: Nov 23 2024