Dela via


EmailFolder.CreateFolderAsync(String) Method

Definition

Asynchronously creates a new folder.

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

Parameters

name
String

Platform::String

winrt::hstring

The name for the new folder.

Returns

Returns the newly created folder.

Attributes

Windows requirements

App capabilities
email emailSystem

Applies to