StoreConfiguration.PurchasePromptingPolicy Property
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 or sets a value that indicates whether the Microsoft Store prompts the user before making a purchase.
public:
static property IReference<unsigned int> ^ PurchasePromptingPolicy { IReference<unsigned int> ^ get(); void set(IReference<unsigned int> ^ value); };
static IReference<uint32_t> PurchasePromptingPolicy();
static void PurchasePromptingPolicy(IReference<uint32_t> value);
public static System.Nullable<uint> PurchasePromptingPolicy { get; set; }
var iReference = StoreConfiguration.purchasePromptingPolicy;
StoreConfiguration.purchasePromptingPolicy = iReference;
Public Shared Property PurchasePromptingPolicy As Nullable(Of UInteger)
Property Value
A UInt32 value that indicates whether the Microsoft Store prompts the user before making a purchase.
Value | Description |
---|---|
1 | The Microsoft Store prompts the end user before making a purchase. |
0 | The Microsoft Store does not prompt the end user before making a purchase. |
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10586.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v2.0)
|