Internet Direct (Indy)
Home
PreviousUpNext
TIdMessageParts.Items Property

Represents the message parts in the collection.

Pascal
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.

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.