Internet Direct (Indy)
Home
PreviousUpNext
TIdText.Assign Method

Copies properties from a persistent object to the current instance.

Pascal
procedure Assign(
    Source: TIdPersistent
); override;
Parameters 
Description 
Source 
Object with properties to assign to the current object instance. 

Assign is an overridden procedure used to store property values from the persistent object instance in Source into the current object instance. 

Assign uses ClassType to determine if the current object and the object in Source are derived from the same base class. When the class types are the same, Assign copies the following properties from Source: 

 

 

When the ClassType values do not match, 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.