LauncherExtensionsLaunchDirectoryInfoAsync Method
Starts the default app associated with the specified storage directory (folder).
Namespace: Avalonia.Platform.StorageAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static Task<bool> LaunchDirectoryInfoAsync(
this ILauncher launcher,
DirectoryInfo directoryInfo
)
<ExtensionAttribute>
Public Shared Function LaunchDirectoryInfoAsync (
launcher As ILauncher,
directoryInfo As DirectoryInfo
) As Task(Of Boolean)
[<ExtensionAttribute>]
static member LaunchDirectoryInfoAsync :
launcher : ILauncher *
directoryInfo : DirectoryInfo -> Task<bool>
- launcher ILauncher
- ILauncher instance.
- directoryInfo DirectoryInfo
- The directory.
TaskBooleanIn Visual Basic and C#, you can call this method as an instance method on any object of type
ILauncher. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).