Internet Direct (Indy)
Home
PreviousUpNext
TIdSocketHandle.Assign Method

Copies the value of an object instance to the current instance.

Pascal
procedure Assign(
    Source: TIdPersistent
); override;
Parameters 
Description 
Source 
The object instance containing the values to copy. 

Assign is an overridden procedure used to copy the value of properties in the TIdPersistent descendant in Source to the current object instance. 

When Source is of the same class type, Assign updates the following property values for the current object instance: 

 

 

When Source is not of the same class type, the inherited Assign method is called.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.