Launcher.FindFileHandlersAsync(String) Launcher.FindFileHandlersAsync(String) Launcher.FindFileHandlersAsync(String) Launcher.FindFileHandlersAsync(String) Launcher.FindFileHandlersAsync(String) Method

Definition

Enumerate the file handlers on the device.

public : static IAsyncOperation<IVectorView<AppInfo>> FindFileHandlersAsync(Platform::String extension)
static IAsyncOperation<IVectorView<AppInfo>> FindFileHandlersAsync(winrt::hstring extension) const;
public static IAsyncOperation<IReadOnlyList<AppInfo>> FindFileHandlersAsync(String extension)
Public Shared Function FindFileHandlersAsync(extension As String) As IAsyncOperation<IReadOnlyList<AppInfo>>(Of IVectorView)
Windows.System.Launcher.findFileHandlersAsync(extension).done( /* Your success and error handlers */ );

Parameters

extension
String String String

The file extension that you want to find handlers for. For example, ".bat". Include the leading period '.'.

Returns

IAsyncOperation<IReadOnlyList<AppInfo>> IAsyncOperation<IReadOnlyList<AppInfo>> IAsyncOperation<IReadOnlyList<AppInfo>>

A list of AppInfo s for each application that handles the specified file extension.

Remarks

This API may also be called from Windows desktop application but does not return Windows desktop application.