StoreContext.GetAssociatedStoreProductsAsync(IIterable<String>) Metodo

Definizione

Ottiene le informazioni sulla presentazione in Microsoft Store per i prodotti che possono essere acquistati dall'interno dell'app corrente.

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)

Parametri

productKinds

IIterable<String>

IEnumerable<String>

IIterable<Platform::String>

IIterable<winrt::hstring>

Matrice di stringhe che specificano i tipi di prodotti da ottenere. Per un elenco dei valori stringa supportati, vedi la proprietà ProductKind.

Restituisce

Un'operazione asincrona che, al completamento, restituisce un oggetto StoreProductQueryResult che fornisce l'accesso ai prodotti associati e alle informazioni di errore pertinenti.

Attributi

Commenti

Per altre informazioni sull'uso di questo metodo, incluso un esempio di codice, vedi Ottenere informazioni sul prodotto per app e componenti aggiuntivi.

Si applica a

Vedi anche