Share via


EmailMailbox.GetFolderAsync(String) Method

Definition

Asynchronously gets the specified email folder.

public:
 virtual IAsyncOperation<EmailFolder ^> ^ GetFolderAsync(Platform::String ^ id) = GetFolderAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<EmailFolder> GetFolderAsync(winrt::hstring const& id);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<EmailFolder> GetFolderAsync(string id);
function getFolderAsync(id)
Public Function GetFolderAsync (id As String) As IAsyncOperation(Of EmailFolder)

Parameters

id
String

Platform::String

winrt::hstring

The ID of the folder to retrieve.

Returns

The email folder specified in the id parameter.

Attributes

Windows requirements

App capabilities
email emailSystem

Applies to