Condividi tramite


StoreContext.GetStoreProductForCurrentAppAsync Metodo

Definizione

Ottiene le informazioni sulla presentazione in Microsoft Store per l'app corrente e fornisce l'accesso a un metodo che puoi usare per acquistare l'app per l'utente corrente.

public:
 virtual IAsyncOperation<StoreProductResult ^> ^ GetStoreProductForCurrentAppAsync() = GetStoreProductForCurrentAppAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<StoreProductResult> GetStoreProductForCurrentAppAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<StoreProductResult> GetStoreProductForCurrentAppAsync();
function getStoreProductForCurrentAppAsync()
Public Function GetStoreProductForCurrentAppAsync () As IAsyncOperation(Of StoreProductResult)

Restituisce

Un'operazione asincrona che, al completamento, restituisce un oggetto StoreProductResult che contiene informazioni sulla presentazione in Microsoft Store per l'app corrente ed eventuali 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