TListItem.Assign procedure
Copies values from the specified persistent object into the current class instance.
Declaration
procedure Assign(ASource: TPersistent); overrideArguments
ASource | Persistent object with values copied in the method. |
Description
Assign is an overridden method used copy property values from the
persistent object in
ASource into the current class instance. When
ASource is a
TListItem descendant, the following
property values are copied:
- Caption
- Data
- ImageIndex
- SubItems
If ASource is not descended from TListItem, the inherited method is called to handle the assignment.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
