SocketTools .NET Edition

MailMessage.PartCount Property

Gets the number of parts in the current message.

[Visual Basic]
Public ReadOnly Property PartCount As Integer
[C#]
public int PartCount {get;}

Property Value

An integer value which specifies the number of message parts.

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.

See Also

MailMessage Class | SocketTools Namespace