Share via


EmailStore.GetFolderAsync(String) Method

Definition

Gets an email folder from an identifier.

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 identifier for the email folder.

Returns

The folder described by the identifier.

Attributes

Windows requirements

App capabilities
email emailSystem

Applies to