EmailMailbox.DownloadAttachmentAsync(String) 方法

定义

异步下载电子邮件附件。

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

参数

attachmentId
String

Platform::String

winrt::hstring

要下载的附件的 ID。

返回

指示操作已完成的异步操作。

属性

Windows 要求

应用功能
email emailSystem

适用于