Constructor for the collection item.
constructor Create( Collection: TIdCollection ); override;
Parameters |
Description |
Collection |
Owner of the collection item. |
Create is the constructor for the collection item.
Create raises an EIdCanNotCreateMessagePart exception if the ClassType for the message part is TIdMessagePart. Use a TIdMessagePart descendant to override this constructor with parameters to add items to a TIdMessageParts collection.
Create calls the inherited Create method to initialize the object instance, and allocates resources required for the Headers and ExtraHeaders properties.
Create sets the default values for the following properties:
Property |
Default Value |
False | |
-1 (indicating a top-level message part) |
Use Destroy to free the collection item.
Exceptions |
Description |
With the message RSTIdMessagePartCreate. |
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
|
Post feedback to the Indy Docs Newsgroup.
|