[Overview][Types][Classes][Procedures and functions] Reference for unit 'contnrs' (#fcl)

TFPHashTable.Items

Indexed access to the data pointer.

Declaration

Source position: contnrs.pp line 241

public property TFPHashTable.Items: Pointer
  read GetData
  write SetData;
  default;

Description

Itemallows indexed access to the data pointers. When reading the property, if Indexexists, then the associated data pointer is returned. If it does not exist, Nilis returned. When writing the property, if Indexdoes not exist, a new item is added with the associated data pointer. If it existed, then the associated data pointer is overwritten with the new value.

See also

TFPHashTable.Find

  

Search for an item with a certain key value.

TFPHashTable.Add

  

Add a new key and its associated data to the hash.