System.Contnrs.TCustomBucketList.DeleteItem

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DeleteItem(ABucket: Integer; AIndex: Integer): Pointer; virtual;

C++

virtual void * __fastcall DeleteItem(int ABucket, int AIndex);

Properties

Type Visibility Source Unit Parent
function protected
System.Contnrs.pas
System.Contnrs.hpp
System.Contnrs TCustomBucketList

Description

Deletes an item from a bucket in the bucket list.

TCustomBucketList uses DeleteItem to remove items from the bucket list. DeleteItem removes the specified item from the specified bucket and moves all items that came after the deleted item up by one position within the bucket.

ABucket is the bucket that contains the item to delete.

AIndex is the index of the item to delete within the bucket specified by ABucket.

DeleteItem returns the data associated with the deleted item.

See Also