StoreConfiguration.PurchasePromptingPolicy 属性

定义

获取或设置一个值,该值指示 Microsoft Store 是否在购买前提示用户。

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)

属性值

IReference<UInt32>

Nullable<UInt32>

Windows.Foundation.IReference

IReference<uint32_t>

一个 UInt32 值,该值指示 Microsoft Store 是否在购买前提示用户。

说明
1 Microsoft Store 在购买前会提示最终用户。
0 Microsoft Store 不会在购买前提示最终用户。

Windows 要求

设备系列
Windows 10 (在 10.0.10586.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v2.0 中引入)

适用于