Internet Direct (Indy)
Home
PreviousUpNext
TIdMessageCollection Class

Implements a collection for Indy messages.

Pascal
TIdMessageCollection = class(TIdCollection);

TIdMessageCollection is a TCollection descendant that implements a container for TIdMessageItem object instances. TIdMessageCollection is the type used for the TIdMailbox.MessageList property, and for arguments used when retrieving messages and headers using an IMAP4 client. 

TIdMessageCollection enhances the ancestor class by ensuring that collection items added to the container are TIdMessageItem instances. 

TIdMessageCollection extends the ancestor class by providing indexed access to TIdMessage instances in the container using the Messages property.

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.