Topic Path: Symbol Reference > Classes > TIdMessagePart Class > TIdMessagePart Methods > PartType Method
TIdMessagePart.PartType Method

Indicates the classification of the message part instance.

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.

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