Internet Direct (Indy)
Home
PreviousUpNext
TIdAttachment.Assign Method

Copies properties from a persistent object to the current object instance.

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

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

Assign compares the ClassType value in the current object to the class type for the object in Source. When the values are the same, the values in the following properties are assigned to the current object instance: 

 

 

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.