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

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

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.

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