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

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

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.

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