RAD Studio VCL Reference
TListItems.Assign Method

Copies the list of list items from another TListItems object.

procedure Assign(Source: TPersistent); override;
virtual __fastcall Assign(TPersistent * Source);

Call Assign to copy the list of items from another object. If the Source parameter specifies another TListItems object, Assign discards the current value of Item and rebuilds the list by copying the items maintained by Source. If Source is any other type of object, Assign calls the inherited method, which will copy the list from any object that specifies how to copy to a TListItems object in its AssignTo method. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!