Back to Devexpress

TcxOwnedPersistent.Assign(TPersistent) Method

vcl-dxcoreclasses-dot-tcxownedpersistent-dot-assign-x28-system-dot-classes-dot-tpersistent-x29.md

latest1.6 KB
Original Source

TcxOwnedPersistent.Assign(TPersistent) Method

Updates the persistent information from the specified source.

Declaration

delphi
procedure Assign(Source: TPersistent); override;

Parameters

NameType
SourceTPersistent

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

TcxLockablePersistent.Assign

TcxOwnedPersistent Class

TcxOwnedPersistent Members

dxCoreClasses Unit