Skip to main content

TcxOwnedPersistent.Assign(TPersistent) Method

Updates the persistent information from the specified source.

Declaration

procedure Assign(Source: TPersistent); override;

Parameters

Name Type
Source TPersistent

Remarks

Call this procedure to replace the stored settings with the corresponding values obtained from another persistent object passed as the Source parameter. The Assign procedure updates only those stored settings that the specified source has by calling the DoAssign procedure internally if the source is a TcxOwnedPersistent class descendant instance. Otherwise, Assign calls the inherited Assign procedure.

Note

Certain TcxOwnedPersistent class descendants override the Assign procedure instead of DoAssign to provide the corresponding property set with the capability to copy all class-specific settings from another persistent property set or information container.

See Also