Internet Direct (Indy)
Home
PreviousUpNext
TIdAttachment.PartType Method

Indicates the message part type to control decoding and processing during receipt.

Pascal
class function PartType: TIdMessagePartType; override;

TIdMessagePartType - Type indicator for the message part class.

PartType is an overridden TIdMessagePartType class function used to provide the type indicator for the class instance. 

PartType returns the value mptAttachment for TIdAttachment and descendant classes. 

PartType is used to differentiate message part types, and allows calling the proper methods required to decode and process message part headers and contents in TIdMessageClient.ReceiveBody.

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.