PartCount Property  
 

Return the number of parts in the current message.

Syntax

object.PartCount

Remarks

The PartCount property returns the number of parts in the current message. All messages have at least one part, referenced as part 0. Multipart messages will consist of additional parts which may be accessed by setting the Part property.

Data Type

Integer (Int32)

See Also

Part Property, AttachFile Method, ExportMessage Method, ExtractFile Method