IStorageFolderCreateFileAsync Method

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

Definition

Namespace: Avalonia.Platform.Storage
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
Task<IStorageFile?> CreateFileAsync(
	string name
)

Parameters

name  String
The display name

Return Value

TaskIStorageFile
A new IStorageFile pointing to the moved file. If not null, the current storage item becomes invalid

See Also