StoreProductOptions 类

定义

包含可用于 GetStoreProductsAsync 方法的筛选器字符串集合,用于获取与当前应用关联的指定产品的信息。

public ref class StoreProductOptions sealed
/// [Windows.Foundation.Metadata.Activatable(196608, "Windows.Services.Store.StoreContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.Store.StoreContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class StoreProductOptions final
[Windows.Foundation.Metadata.Activatable(196608, "Windows.Services.Store.StoreContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.Store.StoreContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class StoreProductOptions
function StoreProductOptions()
Public NotInheritable Class StoreProductOptions
继承
Object Platform::Object IInspectable StoreProductOptions
属性

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Services.Store.StoreContract (在 v3.0 中引入)

构造函数

StoreProductOptions()

创建 StoreProductOptions 类的新实例。

属性

ActionFilters

获取可用于 GetStoreProductsAsync 方法的筛选器字符串集合,以获取与当前应用关联的指定产品的信息。 目前,此集合仅支持一个筛选器字符串 Purchase

适用于

另请参阅