Launcher.QueryFileSupportAsync メソッド

定義

オーバーロード

QueryFileSupportAsync(StorageFile)

指定したファイルに対してアプリをアクティブ化できるかどうかを非同期的にクエリします。

QueryFileSupportAsync(StorageFile, String)

指定したファイルに対して、指定したパッケージ名を持つアプリをアクティブ化できるかどうかを非同期的に照会します。

QueryFileSupportAsync(StorageFile)

指定したファイルに対してアプリをアクティブ化できるかどうかを非同期的にクエリします。

public:
 static IAsyncOperation<LaunchQuerySupportStatus> ^ QueryFileSupportAsync(StorageFile ^ file);
/// [Windows.Foundation.Metadata.Overload("QueryFileSupportAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<LaunchQuerySupportStatus> QueryFileSupportAsync(StorageFile const& file);
[Windows.Foundation.Metadata.Overload("QueryFileSupportAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<LaunchQuerySupportStatus> QueryFileSupportAsync(StorageFile file);
function queryFileSupportAsync(file)
Public Shared Function QueryFileSupportAsync (file As StorageFile) As IAsyncOperation(Of LaunchQuerySupportStatus)

パラメーター

file
StorageFile

サポートのクエリを実行するファイル。

戻り値

ファイルに対してアプリケーションをアクティブ化できるかどうかを示す値。

属性

注釈

この API は、Windows デスクトップ アプリケーションから呼び出すこともできます。

Windows デスクトップ アプリケーションとユニバーサル Windows プラットフォーム (UWP) アプリの両方が考慮されます。

こちらもご覧ください

適用対象

QueryFileSupportAsync(StorageFile, String)

指定したファイルに対して、指定したパッケージ名を持つアプリをアクティブ化できるかどうかを非同期的に照会します。

public:
 static IAsyncOperation<LaunchQuerySupportStatus> ^ QueryFileSupportAsync(StorageFile ^ file, Platform::String ^ packageFamilyName);
/// [Windows.Foundation.Metadata.Overload("QueryFileSupportWithPackageFamilyNameAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<LaunchQuerySupportStatus> QueryFileSupportAsync(StorageFile const& file, winrt::hstring const& packageFamilyName);
[Windows.Foundation.Metadata.Overload("QueryFileSupportWithPackageFamilyNameAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<LaunchQuerySupportStatus> QueryFileSupportAsync(StorageFile file, string packageFamilyName);
function queryFileSupportAsync(file, packageFamilyName)
Public Shared Function QueryFileSupportAsync (file As StorageFile, packageFamilyName As String) As IAsyncOperation(Of LaunchQuerySupportStatus)

パラメーター

file
StorageFile

サポートのクエリを実行するファイル。

packageFamilyName
String

Platform::String

winrt::hstring

サポートのクエリを実行するパッケージ。

戻り値

ファイルに対してアプリケーションをアクティブ化できるかどうかを示す値。

属性

注釈

この API は、Windows デスクトップ アプリケーションから呼び出すこともできます。

Windows デスクトップ アプリケーションとユニバーサル Windows プラットフォーム (UWP) アプリの両方が考慮されます。

こちらもご覧ください

適用対象