StoreProduct.InAppOfferToken Property

Definition

Gets the product ID for this product, if the current StoreProduct represents an add-on.

public:
 property Platform::String ^ InAppOfferToken { Platform::String ^ get(); };
winrt::hstring InAppOfferToken();
public string InAppOfferToken { get; }
var string = storeProduct.inAppOfferToken;
Public ReadOnly Property InAppOfferToken As String

Property Value

String

The product ID for this product, if the current StoreProduct represents an add-on.

Remarks

If the current StoreProduct represents an add-on, this property returns the product ID that you gave the add-on when you submitted the add-on in Partner Center. For more information, see How to use product IDs for add-ons in your code.

Applies to