Sign in Join
FPDoc Onlineexperiment

TStoredValue.Assign procedure

Member of TStoredValuepublicIn unit PropertyStorage

Copies property values from the specified persistent object into the current class instance.

Declaration

pascal
procedure Assign(Source: TPersistent); override

Arguments

Source

Persistent object with property values copied in the method.

Description

Assign is an overridden method in TStoredValue used to copy property values from the persistent object specified in Source into the current class instance. When Source is assigned and derived from TStoredValue, the following properties are copied:

  • Values
  • Name
  • KeyString

No actions are performed in the method when Source is unassigned (Nil) or not derived from TStoredValue. It does not call the inherited method.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.