ExchangeService.GetAttachments ExchangeService.GetAttachments ExchangeService.GetAttachments Method

Definition

Overloads

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

Gets attachments properties from the server.

GetAttachments(String[], Nullable<BodyType>, IEnumerable<PropertyDefinitionBase>) GetAttachments(String[], Nullable<BodyType>, IEnumerable<PropertyDefinitionBase>) GetAttachments(String[], Nullable<BodyType>, IEnumerable<PropertyDefinitionBase>)

Gets attachments properties from the server.

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

Gets attachments properties from the server.

public:
 Microsoft::Exchange::WebServices::Data::ServiceResponseCollection<Microsoft::Exchange::WebServices::Data::GetAttachmentResponse ^> ^ GetAttachments(cli::array <Microsoft::Exchange::WebServices::Data::Attachment ^> ^ attachments, Nullable<Microsoft::Exchange::WebServices::Data::BodyType> bodyType, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::PropertyDefinitionBase ^> ^ additionalProperties);
public Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.GetAttachmentResponse> GetAttachments (Microsoft.Exchange.WebServices.Data.Attachment[] attachments, Nullable<Microsoft.Exchange.WebServices.Data.BodyType> bodyType, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase> additionalProperties);
Public Function GetAttachments (attachments As Attachment(), bodyType As Nullable(Of BodyType), additionalProperties As IEnumerable(Of PropertyDefinitionBase)) As ServiceResponseCollection(Of GetAttachmentResponse)
Parameters
attachments
Attachment[]

An array of Attachment objects.

bodyType
Nullable<BodyType>

Specifies how the body text is formatted in the response.

additionalProperties
IEnumerable<PropertyDefinitionBase>

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

Returns

A collection of responses for each attachment.

GetAttachments(String[], Nullable<BodyType>, IEnumerable<PropertyDefinitionBase>) GetAttachments(String[], Nullable<BodyType>, IEnumerable<PropertyDefinitionBase>) GetAttachments(String[], Nullable<BodyType>, IEnumerable<PropertyDefinitionBase>)

Gets attachments properties from the server.

public:
 Microsoft::Exchange::WebServices::Data::ServiceResponseCollection<Microsoft::Exchange::WebServices::Data::GetAttachmentResponse ^> ^ GetAttachments(cli::array <System::String ^> ^ attachmentIds, Nullable<Microsoft::Exchange::WebServices::Data::BodyType> bodyType, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::PropertyDefinitionBase ^> ^ additionalProperties);
public Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.GetAttachmentResponse> GetAttachments (string[] attachmentIds, Nullable<Microsoft.Exchange.WebServices.Data.BodyType> bodyType, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.PropertyDefinitionBase> additionalProperties);
Public Function GetAttachments (attachmentIds As String(), bodyType As Nullable(Of BodyType), additionalProperties As IEnumerable(Of PropertyDefinitionBase)) As ServiceResponseCollection(Of GetAttachmentResponse)
Parameters
attachmentIds
String[]

An array of attachment IDs identifying the attachments to get from the server.

bodyType
Nullable<BodyType>

Specifies how the body text is formatted in the response.

additionalProperties
IEnumerable<PropertyDefinitionBase>

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

Returns

A collection of responses for each attachment.

Remarks

This method retrieves one or more attachments based on the attachment IDs specified in the attachmentIds parameter. This enables access to attachments when only the attachment ID is available, such as when a mail app sends attachment IDs to a remote service

Applies to