Internet Direct (Indy) Version 9.0.2 Beta
TIdSMTPRcpReplies.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 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 TIdSMTPRcpReplies instance, and if so, copies the values of the AddressOkReply, AddressErrorReply, and AddressWillForwardReply properties.

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