StoreConfiguration.GetPurchasePromptingPolicyForUser(User) Method
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 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
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)
|