IStorageFolder.CreateFolderAsync IStorageFolder.CreateFolderAsync IStorageFolder.CreateFolderAsync IStorageFolder.CreateFolderAsync IStorageFolder.CreateFolderAsync Method

Definition

Overloads

CreateFolderAsync(String) CreateFolderAsync(String) CreateFolderAsync(String) CreateFolderAsync(String) CreateFolderAsync(String)

Creates a new folder in the current folder.

CreateFolderAsync(String, CreationCollisionOption) CreateFolderAsync(String, CreationCollisionOption) CreateFolderAsync(String, CreationCollisionOption) CreateFolderAsync(String, CreationCollisionOption) CreateFolderAsync(String, CreationCollisionOption)

Creates a new folder in the current folder, and specifies what to do if a folder with the same name already exists in the current folder.

CreateFolderAsync(String) CreateFolderAsync(String) CreateFolderAsync(String) CreateFolderAsync(String) CreateFolderAsync(String)

Creates a new folder in the current folder.

public : IAsyncOperation<StorageFolder> CreateFolderAsync(Platform::String desiredName)
IAsyncOperation<StorageFolder> CreateFolderAsync(winrt::hstring desiredName) const;
public IAsyncOperation<StorageFolder> CreateFolderAsync(String desiredName)
Public Function CreateFolderAsync(desiredName As String) As IAsyncOperation(Of StorageFolder)
Windows.Storage.IStorageFolder.createFolderAsync(desiredName).done( /* Your success and error handlers */ );

Parameters

desiredName
String String String

The desired name of the folder to create.

Returns

See also

CreateFolderAsync(String, CreationCollisionOption) CreateFolderAsync(String, CreationCollisionOption) CreateFolderAsync(String, CreationCollisionOption) CreateFolderAsync(String, CreationCollisionOption) CreateFolderAsync(String, CreationCollisionOption)

Creates a new folder in the current folder, and specifies what to do if a folder with the same name already exists in the current folder.

public : IAsyncOperation<StorageFolder> CreateFolderAsync(Platform::String desiredName, CreationCollisionOption options)
IAsyncOperation<StorageFolder> CreateFolderAsync(winrt::hstring desiredName, CreationCollisionOption options) const;
public IAsyncOperation<StorageFolder> CreateFolderAsync(String desiredName, CreationCollisionOption options)
Public Function CreateFolderAsync(desiredName As String, options As CreationCollisionOption) As IAsyncOperation(Of StorageFolder)
Windows.Storage.IStorageFolder.createFolderAsync(desiredName, options).done( /* Your success and error handlers */ );

Parameters

desiredName
String String String

The desired name of the folder to create.

If there is an existing folder in the current folder that already has the specified desiredName, the specified CreationCollisionOption determines how Windows responds to the conflict.

options
CreationCollisionOption CreationCollisionOption CreationCollisionOption

The enum value that determines how Windows responds if the desiredName is the same as the name of an existing folder in the current folder.

Returns

See also