Returns a value indicating whether the message has an attachment (or more attachments).

Namespace:  Rebex.Net
Assembly:  Rebex.Imap (in Rebex.Imap.dll)

Syntax

Visual Basic
Public ReadOnly Property HasAttachment As Boolean
	Get
C#
public bool HasAttachment { get; }

Field Value

True if message has attachment; false if no attachments.

Remarks

This field is only set if the ImapListFields.AttachmentInfo option was specified in a call to GetMessageList(ImapListFields) or GetMessageInfo(String, ImapListFields).

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also