Freigeben über


StorePreviewProductInfo.ProductId Eigenschaft

Definition

Ruft die ID des In-App-Produkts ab.

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

Eigenschaftswert

String

Platform::String

winrt::hstring

Die ID des In-App-Produkts. Dies entspricht dem StorePreviewSkuInfo.ProductId-Wert für alle SKUs des In-App-Produkts.

Hinweise

Dieser Eigenschaftswert ist nicht mit dem Windows.ApplicationModel.Store.ProductListing.ProductId-Wert identisch. Windows.ApplicationModel.Store.ProductListing.ProductId wird vom Entwickler beim Erstellen eines In-App-Produkts im Partner Center angegeben. Der Wert StorePreviewProductInfo.ProductId wird von Microsoft generiert.

Gilt für: