RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomBucketList.Add Method

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

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

Call Add to add an item and its associated data into the 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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!