ILauncherLaunchFileAsync Method
Starts the default app associated with the specified storage file or folder.
Namespace: Avalonia.Platform.StorageAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
Task<bool> LaunchFileAsync(
IStorageItem storageItem
)
Function LaunchFileAsync (
storageItem As IStorageItem
) As Task(Of Boolean)
abstract LaunchFileAsync :
storageItem : IStorageItem -> Task<bool>
- storageItem IStorageItem
- The file or folder.
TaskBooleanTrue, if launch operation was successful. False, if unsupported or failed.