Launcher.QueryFileSupportAsync Launcher.QueryFileSupportAsync Launcher.QueryFileSupportAsync Launcher.QueryFileSupportAsync Launcher.QueryFileSupportAsync Method

Definition

Overloads

QueryFileSupportAsync(StorageFile) QueryFileSupportAsync(StorageFile) QueryFileSupportAsync(StorageFile) QueryFileSupportAsync(StorageFile) QueryFileSupportAsync(StorageFile)

Asynchronously query whether an app can be activated for the specified file.

QueryFileSupportAsync(StorageFile, String) QueryFileSupportAsync(StorageFile, String) QueryFileSupportAsync(StorageFile, String) QueryFileSupportAsync(StorageFile, String) QueryFileSupportAsync(StorageFile, String)

Asynchronously query whether an app with the specified package name can be activated for the specified file.

QueryFileSupportAsync(StorageFile) QueryFileSupportAsync(StorageFile) QueryFileSupportAsync(StorageFile) QueryFileSupportAsync(StorageFile) QueryFileSupportAsync(StorageFile)

Asynchronously query whether an app can be activated for the specified file.

public : static IAsyncOperation<LaunchQuerySupportStatus> QueryFileSupportAsync(StorageFile file)
static IAsyncOperation<LaunchQuerySupportStatus> QueryFileSupportAsync(StorageFile file) const;
public static IAsyncOperation<LaunchQuerySupportStatus> QueryFileSupportAsync(StorageFile file)
Public Shared Function QueryFileSupportAsync(file As StorageFile) As IAsyncOperation(Of LaunchQuerySupportStatus)
Windows.System.Launcher.queryFileSupportAsync(file).done( /* Your success and error handlers */ );

Parameters

file
StorageFile StorageFile StorageFile

The file for which to query support.

Returns

Remarks

This API may also be called from Windows desktop application.

Both Windows desktop application and Universal Windows Platform (UWP) app are considered.

See also

QueryFileSupportAsync(StorageFile, String) QueryFileSupportAsync(StorageFile, String) QueryFileSupportAsync(StorageFile, String) QueryFileSupportAsync(StorageFile, String) QueryFileSupportAsync(StorageFile, String)

Asynchronously query whether an app with the specified package name can be activated for the specified file.

public : static IAsyncOperation<LaunchQuerySupportStatus> QueryFileSupportAsync(StorageFile file, Platform::String packageFamilyName)
static IAsyncOperation<LaunchQuerySupportStatus> QueryFileSupportAsync(StorageFile file, winrt::hstring packageFamilyName) const;
public static IAsyncOperation<LaunchQuerySupportStatus> QueryFileSupportAsync(StorageFile file, String packageFamilyName)
Public Shared Function QueryFileSupportAsync(file As StorageFile, packageFamilyName As String) As IAsyncOperation(Of LaunchQuerySupportStatus)
Windows.System.Launcher.queryFileSupportAsync(file, packageFamilyName).done( /* Your success and error handlers */ );

Parameters

file
StorageFile StorageFile StorageFile

The file for which to query support.

packageFamilyName
String String String

The package for which to query support.

Returns

Remarks

This API may also be called from Windows desktop application.

Both Windows desktop application and Universal Windows Platform (UWP) app are considered.

See also