CurrentAppSimulator.LoadListingInformationByKeywordsAsync 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.
Loads the simulated app listing information asynchronously, returning in-app products in the ProductListings collection that match all supplied keywords.
public:
static IAsyncOperation<ListingInformation ^> ^ LoadListingInformationByKeywordsAsync(IIterable<Platform::String ^> ^ keywords);
static IAsyncOperation<ListingInformation> LoadListingInformationByKeywordsAsync(IIterable<winrt::hstring> const& keywords);
public static IAsyncOperation<ListingInformation> LoadListingInformationByKeywordsAsync(IEnumerable<string> keywords);
function loadListingInformationByKeywordsAsync(keywords)
Public Shared Function LoadListingInformationByKeywordsAsync (keywords As IEnumerable(Of String)) As IAsyncOperation(Of ListingInformation)
Parameters
The list of keywords by which to filter the ProductListings collection that is returned in the ListingInformation object.
Returns
The simulated app listing information, with ProductListings collection filtered by keywords. If the method fails, it returns an HRESULT error code. If no in-app products are found that match all of the given keywords, the ProductListings collection will be empty.
Remarks
Uses the ListingInformation element in the WindowsStoreProxy.xml file as the data source for the members of the returned objects. For more information, see Using the WindowsStoreProxy.xml file with CurrentAppSimulator.
Calling this method requires an internet connection.