CurrentApp.LoadListingInformationByKeywordsAsync 方法

定义

异步加载应用列表信息,返回 ProductListings 集合中与所有提供的关键字匹配的功能和产品。

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)

参数

keywords

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

要筛选 ListingInformation 对象中返回的 ProductListings 集合的关键字列表。

返回

应用的列表信息,以及按关键字筛选的 ProductListings 集合。 如果方法失败,它将返回 HRESULT 错误代码。 如果未找到与所有给定关键字匹配的产品或功能,则 ProductListings 集合将为空。

适用于