Skip to main content

CreateFolderAsync Method

Creates a folder with specified name as a child of the current storage folder

Definition

Namespace: Avalonia.Platform.Storage
Assembly: Avalonia.Base (in Avalonia.Base.dll)

Task<IStorageFolder?> CreateFolderAsync(
string name
)
View Source

Parameters

  String
The display name

Return Value

Task(IStorageFolder)
A new IStorageFolder pointing to the moved file. If not null, the current storage item becomes invalid

See Also

Reference

IStorageFolder Interface
Avalonia.Platform.Storage Namespace