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.
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. |