Topic Path: Symbol Reference > Classes > TIdMessageCollection Class
TIdMessageCollection Class

Implements a collection for Indy messages.

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.

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