CurrentApp.LoadListingInformationByProductIdsAsync Method

Definition

Loads the app listing information asynchronously, returning features and products in the ProductListings collection that match any of the given products IDs.

public:
 static IAsyncOperation<ListingInformation ^> ^ LoadListingInformationByProductIdsAsync(IIterable<Platform::String ^> ^ productIds);
 static IAsyncOperation<ListingInformation> LoadListingInformationByProductIdsAsync(IIterable<winrt::hstring> const& productIds);
public static IAsyncOperation<ListingInformation> LoadListingInformationByProductIdsAsync(IEnumerable<string> productIds);
function loadListingInformationByProductIdsAsync(productIds)
Public Shared Function LoadListingInformationByProductIdsAsync (productIds As IEnumerable(Of String)) As IAsyncOperation(Of ListingInformation)

Parameters

productIds

IIterable<String>

IEnumerable<String>

The list of product IDs by which to filter the ProductListings collection.

Returns

IAsyncOperation<ListingInformation>

The app's listing information, with ProductListings collection filtered by product IDs. If the method fails, it returns an HRESULT error code. If no products or features are found that match the given product IDs, the ProductListings collection will be empty.

Applies to