ILauncherLaunchFileAsync Method

Starts the default app associated with the specified storage file or folder.

Definition

Namespace: Avalonia.Platform.Storage
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
Task<bool> LaunchFileAsync(
	IStorageItem storageItem
)

Parameters

storageItem  IStorageItem
The file or folder.

Return Value

TaskBoolean
True, if launch operation was successful. False, if unsupported or failed.

See Also