CurrentAppSimulator.LoadListingInformationByKeywordsAsync Méthode

Définition

Charge de façon asynchrone les informations de référencement des applications simulées, en retournant les produits dans l’application dans la collection ProductListings qui correspondent à tous les mots clés fournis.

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)

Paramètres

keywords

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

Liste de mots clés selon lesquels filtrer la collection ProductListings retournée dans l’objet ListingInformation .

Retours

Informations de liste d’applications simulées, avec la collection ProductListings filtrée par mots clés. Si la méthode échoue, elle retourne un code d’erreur HRESULT . Si aucun produit dans l’application ne correspond à tous les mots clés donnés, la collection ProductListings est vide.

Remarques

Utilise l’élément ListingInformation dans le fichier WindowsStoreProxy.xml comme source de données pour les membres des objets retournés. Pour plus d’informations, consultez Utilisation du fichier WindowsStoreProxy.xml avec CurrentAppSimulator.

L’appel de cette méthode nécessite une connexion Internet.

S’applique à