Internet Direct (Indy) Version 9.0.2 Beta
TIdAttachment.Assign
Copy the property values from an object to the current instance.

procedure Assign(Source: TPersistent); override;
Parameters
Source: TPersistent
Persistent class that contains values to be copied.

Description
Assign is a procedure used to store the properties values from the object instance specified by Source in the current object instance. If source is an instance of the same ClassType as the current object, Assign will copy the value of the following properties:

When Source is not the same ClassType as the current object instance, Assign calls the inherited Assign method.