System.Contnrs.TObjectBucketList.Add
Delphi
function Add(AItem, AData: TObject): TObject;
C++
HIDESBASE System::TObject* __fastcall Add(System::TObject* AItem, System::TObject* AData);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Contnrs.pas System.Contnrs.hpp |
System.Contnrs | TObjectBucketList |
Description
Inserts an item and its associated data into the object bucket list.
Call Add to add an item and its associated data into the object bucket list. Add locates the bucket into which the specified item belongs. If the item is already in the bucket, Add raises an EListError exception. Otherwise, it adds the item to the correct bucket and returns AData.