Topic Path: Symbol Reference > Classes > TIdText Class > TIdText Methods > Assign Method
ContentsIndexHome
PreviousUpNext
TIdText.Assign Method

Copies properties from a persistent object to the current instance.

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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.