Internet Direct (Indy) Version 9.0.2 Beta
TIdMessageCollection
Implements a collection for Indy messages.

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

TIdMessageCollection enhances the ancestor class by insuring 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.