System.Contnrs.TObjectBucketList.Remove

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Remove(AItem: TObject): TObject;

C++

HIDESBASE System::TObject* __fastcall Remove(System::TObject* AItem);

Properties

Type Visibility Source Unit Parent
function public
System.Contnrs.pas
System.Contnrs.hpp
System.Contnrs TObjectBucketList

Description

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

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++).

See Also