Share via


EmailMailbox.DownloadAttachmentAsync(String) Method

Definition

Asynchronously downloads an email attachment.

public:
 virtual IAsyncAction ^ DownloadAttachmentAsync(Platform::String ^ attachmentId) = DownloadAttachmentAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction DownloadAttachmentAsync(winrt::hstring const& attachmentId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction DownloadAttachmentAsync(string attachmentId);
function downloadAttachmentAsync(attachmentId)
Public Function DownloadAttachmentAsync (attachmentId As String) As IAsyncAction

Parameters

attachmentId
String

Platform::String

winrt::hstring

The ID of the attachment to download.

Returns

An async action indicating that the operation has completed.

Attributes

Windows requirements

App capabilities
email emailSystem

Applies to