ExchangeService.GetAttachments メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
GetAttachments(Attachment[], Nullable<BodyType>, IEnumerable<PropertyDefinitionBase>) |
サーバーから添付ファイルのプロパティを取得します。 |
GetAttachments(String[], Nullable<BodyType>, IEnumerable<PropertyDefinitionBase>) |
サーバーから添付ファイルのプロパティを取得します。 |
GetAttachments(Attachment[], Nullable<BodyType>, IEnumerable<PropertyDefinitionBase>)
サーバーから添付ファイルのプロパティを取得します。
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)
パラメーター
- attachments
- Attachment[]
オブジェクトの Attachment 配列。
- additionalProperties
- IEnumerable<PropertyDefinitionBase>
応答で返す添付ファイルの追加プロパティを指定します。
戻り値
各添付ファイルの応答のコレクション。
適用対象
GetAttachments(String[], Nullable<BodyType>, IEnumerable<PropertyDefinitionBase>)
サーバーから添付ファイルのプロパティを取得します。
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)
パラメーター
- attachmentIds
- String[]
サーバーから取得する添付ファイルを識別する添付ファイル ID の配列。
- additionalProperties
- IEnumerable<PropertyDefinitionBase>
応答で返す添付ファイルの追加プロパティを指定します。
戻り値
各添付ファイルの応答のコレクション。
注釈
このメソッドは、 パラメーターで指定された添付ファイル ID に基づいて、1 つ以上の添付ファイルを attachmentIds
取得します。 これにより、メール アプリが添付ファイル ID をリモート サービスに送信する場合など、添付ファイル ID のみを使用できる場合に添付ファイルにアクセスできます