StoreContext.GetAssociatedStoreProductsAsync(IIterable<String>) Метод

Определение

Получает сведения о продуктах, которые можно приобрести в текущем приложении в Microsoft Store.

public:
 virtual IAsyncOperation<StoreProductQueryResult ^> ^ GetAssociatedStoreProductsAsync(IIterable<Platform::String ^> ^ productKinds) = GetAssociatedStoreProductsAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StoreProductQueryResult> GetAssociatedStoreProductsAsync(IIterable<winrt::hstring> const& productKinds);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StoreProductQueryResult> GetAssociatedStoreProductsAsync(IEnumerable<string> productKinds);
function getAssociatedStoreProductsAsync(productKinds)
Public Function GetAssociatedStoreProductsAsync (productKinds As IEnumerable(Of String)) As IAsyncOperation(Of StoreProductQueryResult)

Параметры

productKinds

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

Массив строк, указывающих типы продуктов, которые вы хотите получить. Список поддерживаемых строковых значений см. в описании свойства ProductKind.

Возвращаемое значение

Асинхронная операция, которая при успешном завершении возвращает Объект StoreProductQueryResult , предоставляющий доступ к связанным продуктам и соответствующим сведениям об ошибке.

Атрибуты

Комментарии

Дополнительные сведения об использовании этого метода, включая пример кода, см. в статье Получение сведений о продукте для приложений и надстроек.

Применяется к

См. также раздел