ProductType 枚举

定义

指定应用内产品的产品类型。

public enum class ProductType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ProductType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ProductType
var value = Windows.ApplicationModel.Store.ProductType.unknown
Public Enum ProductType
继承
ProductType
属性

Windows 要求

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

字段

Consumable 2

易耗品。

Durable 1

耐用产品。

Unknown 0

产品类型未知。

适用于