Topic Path: Symbol Reference > Classes > TIdMessageParts Class > TIdMessageParts Properties > Items Property
ContentsIndexHome
PreviousUpNext
TIdMessageParts.Items Property

Represents the message parts in the collection.

property Items [Index: Integer]: TIdMessagePart;
Parameters 
Description 
Index 
Position of the message part in the collection. 

TIdMessagePart - Collection item at the specified position.

Items is an indexed TIdMessagePart property used to access the individual message parts in the collection. Index values must be in the range 0..Count-1. 

When accessing the items in the collection, the return value is an abstract TIdMessagePart instance and must be cast to the appropriate descendant class to access properties and methods in the descendant class.

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