help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

TFPObjectHashTable.Add

Add a new object to the hash table

Declaration

Source position: contnrs.pp line 469

public procedure TFPObjectHashTable.Add(

  const aKey: String;

  AItem: TObject

); virtual;

Arguments

aKey

  

key Associated with object

AItem

  

Object to store

Description

Add adds the object AItem to the hash table, and associates it with key aKey.

Errors

If the key aKey is already in the hash table, an exception will be raised.

See also

TFPObjectHashTable.Items

  

Key-based access to the objects

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505