RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListItems.Assign Method

Copies the list of list items from another TListItems object.

Pascal
procedure Assign(Source: TPersistent); override;
C++
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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!