Share via


StorePreviewProductInfo.ProductId Property

Definition

Gets the ID of the in-app product.

public:
 property Platform::String ^ ProductId { Platform::String ^ get(); };
winrt::hstring ProductId();
public string ProductId { get; }
var string = storePreviewProductInfo.productId;
Public ReadOnly Property ProductId As String

Property Value

String

Platform::String

winrt::hstring

The ID of the in-app product. This corresponds to the StorePreviewSkuInfo.ProductId value for all SKUs of the in-app product.

Remarks

This property value is not the same as the Windows.ApplicationModel.Store.ProductListing.ProductId value. Windows.ApplicationModel.Store.ProductListing.ProductId is specified by the developer as they create an in-app product in Partner Center. The StorePreviewProductInfo.ProductId value is generated by Microsoft.

Applies to