Internet Direct (Indy) Version 9.0.2 Beta
TIdSMTPDataReplies.Assign
Copies the properties of one Object instance to another.

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

Description
Assign is an overridden procedure in TIdSMTPDataReplies that copies the property values in Source to the current object instance. Assign calls the inherited Assign method.

Assign checks whether the Source parameter specifies another TIdSMTPDataReplies instance, and if so, copies the values of the StartDataReply and EndDataReply properties.

If Source is not a TIdSMTPDataReplies instance, Assign calls the inherited method, which assigns properties from any object that specifies how to copy using the AssignTo method.