TObjectArray.Assign procedure
Assigns TItem class instances specified in SrcList to the List storage in the class.
Declaration
procedure Assign(SrcList: TList)Arguments
SrcList | TList with the TItem class instances stored in the method. |
Description
Assign is a procedure used to stored
TItem class
instances in
SrcList to the
List storage for the class.
Assign calls the
Clear method to remove all existing item/object
associations stored in List.
Assign sets the value in Count to the length in SrcList.
The method iterates over the values in the TList instance, and stores the
TItem instances in the corresponding positions in List. The associated object
for all entries in List is unassigned (Nil).
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
