Add a new object to the hash table.
Source position: contnrs.pp line 507
public procedure TFPObjectHashTable.Add( |
const aKey: AnsiString; |
AItem: TObject |
); virtual; |
aKey |
|
key Associated with object. |
AItem |
|
Object to store. |
Add adds the object AItem to the hash table, and associates it with key aKey.
If the key aKey is already in the hash table, an exception will be raised.
|
Key-based access to the objects. |