Topic Path: Symbol Reference > Classes > TIdEMailAddressList Class > TIdEMailAddressList Methods > Add Method
TIdEMailAddressList.Add Method

Creates and returns a new Email Address item.

function Add: TIdEMailAddressItem;

TIdEMailAddressItem - Email address added to the collection.

Add is a TIdEMailAddressItem function used to create and return a new email address instance which is added to the TIdEMailAddressList collection. 

Add calls the inherited Add method, and ensures that the return value is cast to a TIdEMailAddressItem object instance. 

Use AddItems to append a an existing collection of email addresses to the current collection. 

Use methods in the ancestor class to maintain Items in the collection, like Delete, Clear, or Destroy.

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