Internet Direct (Indy) Version 9.0.2 Beta
TIdMessageParts.TextPartCount
Indicates the number of text message parts in the collection.

property TextPartCount: integer;
Description
TextPartCount is a read-only Integer property that identifies the number of text parts in the message parts collection. TextPartCount is updated in CountParts, and indicates the number of TIdText items in Items.