TCustomBucketList.Add¶
Add an item to the list.
Declaration¶
Source position: contnrs.pp line 566
public
function TCustomBucketList.Add(AItem: Pointer; AData: Pointer) : Pointer;
Description¶
Add adds AItem with it's associated AData to the list and returns AData.
Errors¶
If AItem is already in the list, an ElistError exception will be raised.
See also¶
| Name | Description |
|---|---|
| TCustomBucketList.Exists | Check if an item exists in the list. |
| TCustomBucketList.Clear | Clear the list. |