ExchangeService.GetAttachments method (Attachment[], Nullable<BodyType>, IEnumerable<PropertyDefinitionBase>)

Gets attachments properties from the server.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public ServiceResponseCollection<GetAttachmentResponse> GetAttachments(
	Attachment[] attachments,
	Nullable<BodyType> bodyType,
	IEnumerable<PropertyDefinitionBase> additionalProperties
)

Parameters

attachments
Type: []

An array of Attachment objects.

bodyType
Type: System.Nullable<BodyType>

Specifies how the body text is formatted in the response.

additionalProperties
Type: System.Collections.Generic.IEnumerable<PropertyDefinitionBase>

Specifies additional properties on the attachment to return in the response.

Return value

Type: Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<GetAttachmentResponse>
A collection of responses for each attachment.
Show: