Share via


StoreConfiguration.PurchasePromptingPolicy Property

Definition

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

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference<unsigned int>

IReference<uint32_t>

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)

Applies to