Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

StoreContext.GetStoreProductForCurrentAppAsync Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets Microsoft Store listing info for the current app and provides access to a method that you can use to purchase the app for the current user.

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)

Returns

An asynchronous operation that, on successful completion, returns a StoreProductResult object that contains Microsoft Store listing info for the current app and any relevant error info.

Attributes

Remarks

For more information about using this method, including a code example, see Get product info for apps and add-ons.

Applies to

See also


Feedback

Was this page helpful?