Internet Direct (Indy)
Home
PreviousUpNext
TIdMessagePart.PartType Method

Indicates the classification of the message part instance.

Pascal
class function PartType: TIdMessagePartType; virtual;

TIdMessagePartType - Message part type for the current instance.

PartType is a TIdMessagePartType class function used to determine the classification of the current message part as text or an attachment. 

PartType is used in CountParts to determine if the message part is a TIdText or TIdAttachement descendant, and aids in determining the content type for the message part and message.

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.