Skip to content

TObjectBucketList.Remove

Remove an object from the list.

Declaration

Source position: contnrs.pp line 606

public 
function TObjectBucketList.Remove(AItem: TObject) : TObject;

Description

Remove removes the object AItem from the list. It returns the Data object which was associated with the item. If AItem was not in the list, then Nil is returned.

See also

Name Description
TObjectBucketList.Add Add an object to the list.
TObjectBucketList.Data Associative array of data items.