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

Assigns propeties and event handlers from a persistent object to the current object instance.

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

Assign is an overridden method that allows properties and event handlers for the persistent object in Source to be assigned to the current object instance. 

When Source is descended from TIdSMTP, the values in the following properties and event handlers are assigned: 

 

 

When Source is not descended from TIdSMTP, 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.