RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomBucketList.Remove Method

Removes a specified item from the list and returns its data.

Pascal
function Remove(AItem: Pointer): Pointer;
C++
__fastcall void * Remove(void * AItem);

Call Remove to delete a specific item from the list. 

AItem is the item to remove. 

Remove returns the data associated with AItem. If AItem is not in the bucket list, Remove returns nil (Delphi) or NULL (C++). 

 

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