Gets an attachment identified by its ID.

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

Syntax

Visual Basic
Public Function GetAttachment ( _
	attachmentId As EwsAttachmentId _
) As Attachment
C#
public Attachment GetAttachment(
	EwsAttachmentId attachmentId
)

Parameters

attachmentId
Type: Rebex.Net..::..EwsAttachmentId
ID of an attachment to get.

Return Value

Attachment object if the attachment is found; null reference (Nothing in VB.NET) otherwise.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also