Adds a MIME message as new attachment to an exchange item.

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

Syntax

Visual Basic
Public Function AddAttachment ( _
	itemId As EwsItemId, _
	message As MimeMessage _
) As EwsAttachmentId
C#
public EwsAttachmentId AddAttachment(
	EwsItemId itemId,
	MimeMessage message
)

Parameters

itemId
Type: Rebex.Net..::..EwsItemId
ID of an item to which to add the attachment.
message
Type: Rebex.Mime..::..MimeMessage
A MIME message to attach.

Return Value

EwsAttachmentId of the new attachment.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also