System.Contnrs.TCustomBucketList.Assign

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Assign(AList: TCustomBucketList);

C++

void __fastcall Assign(TCustomBucketList* AList);

Properties

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

Description

Replaces all the items in this list with the items from another bucket list.

Assign empties the bucket list of any items it currently holds and then adds in all the items in the bucket list specified by the AList parameter.

Note: Assign merely copies the items from another bucket list, not the organization of the bucket list. Thus, the items may end up in entirely different buckets.