Internet Direct (Indy) Version 9.0.2 Beta
TIdMessagePart.Assign
Copy the property values from another object.

procedure Assign(Source: TPersistent); override;
Parameters
Source: TPersistent
Object instance containing values to be copied.

Description
Assign is a procedure used to copy the property values from the object specified in Source to the current collection item instance. When the ClassType for Source is the same as the current object, Assign will copy the following property values:

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