Internet Direct (Indy)
Home
PreviousUpNext
TIdAttachmentMemory.Create Constructor (TIdCollection)

Constructor for the object instance.

Pascal
constructor Create(
    Collection: TIdCollection
); override; overload;
Parameters 
Description 
Collection 
Type is TIdCollection

Create is an overloaded reintroduced constructor for the object instance. 

Create calls the inherited constructor using Collection as the owner for the memory-based message attachment. 

Create allocates the TIdMemoryStream instance used in the DataStream property. 

Use an overloaded variant of the constructor to load the contents of the memory-based attachment from a stream instance.

Create 

TIdStream 

DataSteam 

TIdMemoryStream

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.