TFPObjectHashTable.Add¶
Add a new object to the hash table.
Declaration¶
Source position: contnrs.pp line 510
public
procedure TFPObjectHashTable.Add(const aKey: AnsiString; AItem: TObject)
; virtual;
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¶
| Name | Description |
|---|---|
| TFPObjectHashTable.Items | Key-based access to the objects. |