Share via


StoreConfiguration.GetPurchasePromptingPolicyForUser(User) Method

Definition

Gets a value that indicates whether the Windows Store prompts the specified user before making a purchase.

public:
 static IReference<unsigned int> ^ GetPurchasePromptingPolicyForUser(User ^ user);
 static IReference<uint32_t> GetPurchasePromptingPolicyForUser(User const& user);
public static System.Nullable<uint> GetPurchasePromptingPolicyForUser(User user);
function getPurchasePromptingPolicyForUser(user)
Public Shared Function GetPurchasePromptingPolicyForUser (user As User) As Nullable(Of UInteger)

Parameters

user
User

An object that identifies the user for which to query.

Returns

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference

IReference<uint32_t>

A UInt32 value that indicates whether the Windows Store prompts the specified user before making a purchase.

Value Description
1 The Windows Store prompts the specified user before making a purchase.
0 The Windows Store does not prompt the specified user before making a purchase.

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Applies to