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 데스크톱 애플리케이션과 UWP(유니버설 Windows 플랫폼) 앱이 모두 고려됩니다.

추가 정보

적용 대상

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 데스크톱 애플리케이션과 UWP(유니버설 Windows 플랫폼) 앱이 모두 고려됩니다.

추가 정보

적용 대상