Internet Direct (Indy)
Home
PreviousUpNext
TIdMessageCollection.Add Method

Adds new message items to the collection.

Pascal
function Add: TIdMessageItem;

TIdMessageItem - new collection item added to the collection.

Add is an overridden TIdMessageItem function that creates new items in the collection. 

Add ensures that collection items are cast to a TIdMessageItem instance after calling the inherited Add method. 

The return value for the method is the TIdMessageItem added to the collection.

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.