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>

篩選ListInformation物件中傳回之 ProductListings集合的關鍵字清單。

傳回

應用程式的清單資訊,其中 ProductListings 集合已依關鍵字篩選。 如果方法失敗,它會傳回 HRESULT 錯誤碼。 如果找不到符合所有指定關鍵字的產品或功能,ProductListings 集合將會是空的。

適用於