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

產品類型未知。

適用於