RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TObjectBucketList.Remove Method

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

Pascal
function Remove(AItem: TObject): TObject;
C++
__fastcall TObject * Remove(TObject * 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 object bucket list, Remove returns nil (Delphi) or NULL (C++). 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!