共用方式為


CurrentApp.LoadListingInformationByProductIdsAsync 方法

定義

以非同步方式載入應用程式清單資訊,並傳回 ProductListings 集合中符合任何指定產品識別碼的功能和產品。

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)

參數

productIds

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

用來篩選 ProductListings 集合的產品識別碼清單。

傳回

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

適用於