AppInstallManager.GetIsApplicableAsync(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the specified app can be installed on the current computer or device.
public:
virtual IAsyncOperation<bool> ^ GetIsApplicableAsync(Platform::String ^ productId, Platform::String ^ skuId) = GetIsApplicableAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> GetIsApplicableAsync(winrt::hstring const& productId, winrt::hstring const& skuId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> GetIsApplicableAsync(string productId, string skuId);
function getIsApplicableAsync(productId, skuId)
Public Function GetIsApplicableAsync (productId As String, skuId As String) As IAsyncOperation(Of Boolean)
Parameters
- productId
-
String
Platform::String
winrt::hstring
The product ID of the app that this method will check to determine if it can be installed.
- skuId
-
String
Platform::String
winrt::hstring
The SKU ID of the app that this method will check to determine if it can be installed.
Returns
An asynchronous operation that, on successful completion, returns true if the app can be installed; otherwise false.
- Attributes
Windows requirements
App capabilities |
runFullTrust
|