Skip to main content

TcxOwnedPersistent.DoAssign(TPersistent) Method

Updates the persistent information container’s class-specific properties with the corresponding values obtained from another persistent information container.

Declaration

procedure DoAssign(Source: TPersistent); virtual;

Parameters

Name Type
Source TPersistent

Remarks

This procedure supports the internal infrastructure and is not intended to be used directly from your code. The Assign procedure calls the DoAssign procedure internally if a persistent object passed as the Source parameter is a TcxOwnedPersistent class descendant instance; otherwise, calls the inherited Assign procedure.

This DoAssign procedure implementation is empty. The TcxOwnedPersistent class descendants that implement actual persistent property sets or information containers, override this function to provide the Assign procedure with the capability to copy all compatible class-specific settings from another property set or information container. Refer to the descriptions of particular Assign procedure implementations that TcxOwnedPersistent class descendants provide.

Note

Certain TcxOwnedPersistent class descendants override the Assign procedure instead of DoAssign.

See Also