Topic Path: Symbol Reference > Classes > TIdText Class > TIdText Methods > PartType Method
ContentsIndexHome
PreviousUpNext
TIdText.PartType Method

Indicates the message part type for classification purposes.

class function PartType: TIdMessagePartType; override;

TIdMessagePartType - Value that identifies the message part type for the class.

PartType is an overridden TIdMessagePartType class function that indicates the message part type for instances of the class. PartType is used to determine the classification of the current message part as text or an attachment. 

PartType is overridden in TIdText to return the value mptText. 

PartType is used in TIdMessageParts.CountParts to determine if the message part is a TIdText or TIdAttachment descendant, and aids in determining valid content types for the message part and the message.

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