StoreConfiguration.PurchasePromptingPolicy 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指示 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)
属性值
一个 UInt32 值,该值指示 Microsoft Store 是否在购买前提示用户。
值 | 说明 |
---|---|
1 | Microsoft Store 在购买前会提示最终用户。 |
0 | Microsoft Store 不会在购买前提示最终用户。 |
Windows 要求
设备系列 |
Windows 10 (在 10.0.10586.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v2.0 中引入)
|