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

TDataIteratorMethod

Data iterator method.

Declaration

Source position: contnrs.pp line 422

type TDataIteratorMethod = procedure(

  Item: Pointer;

  const Key: AnsiString;

  var Continue: Boolean

) of object;

Arguments

Item

  

Data pointer item.

Key

  

Key associated with item.

Continue

  

Continue iterating or stop iteration.

Description

TDataIteratorMethod is a callback prototype for the TFPDataHashTable.Iterate method. It is called for each data pointer in the hash list, passing the key (key) and data pointer (item) for each item in the list. If Continue is set to false, the iteration stops.

See also

TFPDataHashTable.Iterate

  

Iterate over the pointers in the hash table.


Documentation generated on: Nov 22 2024