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 引進)
|