Topic Path: Symbol Reference > Classes > TIdAttachmentMemory Class > TIdAttachmentMemory Methods > Create Constructor > Create Constructor (TIdCollection)
ContentsIndexHome
PreviousUpNext
TIdAttachmentMemory.Create Constructor (TIdCollection)

Constructor for the object instance.

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

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