Topic Path: Symbol Reference > Classes > TIdText Class > TIdText Methods > Create Constructor
ContentsIndexHome
PreviousUpNext
TIdText.Create Constructor

Constructor for the collection item.

constructor Create(
    Collection: TIdMessageParts; 
    ABody: TIdStrings = nil
); reintroduce;
Parameters 
Description 
Collection 
Owner of the collection item.
 
ABody 
Content of the message part. 

Create is the constructor for the collection item, and adds the new item to the collection instances specified in Collection. 

Create calls the inherited Create method to identify the collection that own the collection item. Create also initializes the Body property from the value specified in ABody.

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