Internet Direct (Indy)
Home
PreviousUpNext
TIdText.PartType Method

Indicates the message part type for classification purposes.

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

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.