RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TObjectBucketList.Add Method

Inserts an item and its associated data into the object bucket list.

Pascal
function Add(AItem: TObject; AData: TObject): TObject;
C++
__fastcall TObject * Add(TObject * AItem, TObject * AData);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!