Constructor for the object instance.
constructor Create( Collection: TIdMessageParts; const CopyFrom: String ); overload; reintroduce;
Parameters |
Description |
Collection |
Collection that owns the message part. |
CopyFrom |
String containing the contents for the message part. |
Create is the constructor for the object instance.
Create is overloaded in TIdAttachmentMemory to allow specifying the collection that owns the message part, and the string that contains the contents for the message part.
Create calls the inherited Create method, and allocates the internal TMemoryStream used in the DataStream property.
The value in CopyFrom is written to DataStream to set the contents for the message part.
Use Destroy to free the message part from the Collection.
TIdAttachmentMemory.Create
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
|
Post feedback to the Indy Docs Newsgroup.
|