Internet Direct (Indy) Version 9.0.2 Beta
TIdMessageCollection.Add
Adds new message items to the collection.

function Add: TIdMessageItem;
Returns
TIdMessageItem - new collection item added to the collection.

Description
Add is an overridden TIdMessageItem function that creates new items in the collection. Add insures that collection items are cast to a TIdMessageItem instance after calling the inherited Add method.