Creates a copy of the source
Note |
---|
This method uses the Assign method to copy the old object's fields to the clone. If the Assign method is not implemented, the two objects will not equal. |
Namespace: HelperFunctions
Delphi |
function ClonePersistentClass( Source: TPersistent; ClassType: TClass ): TPersistent; |
Parameters
Source
Type: TPersistent
ClassType
Type: TClass
Type: TPersistent
Reference |