WalletItemAppAssociation 枚举

定义

定义 GetAppStatusForItem 方法使用的值,该值指示是否为指定的 WalletItem 安装了应用。

注意

此 API 并非适用于所有 Windows 应用。 除非你的开发人员帐户由 Microsoft 专门预配,否则对这些 API 的调用将在运行时失败。

public enum class WalletItemAppAssociation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WalletItemAppAssociation
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("WalletItemAppAssociation is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
enum class WalletItemAppAssociation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WalletItemAppAssociation
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("WalletItemAppAssociation is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
public enum WalletItemAppAssociation
var value = Windows.ApplicationModel.Wallet.System.WalletItemAppAssociation.none
Public Enum WalletItemAppAssociation
继承
WalletItemAppAssociation
属性

Windows 要求

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

字段

AppInstalled 1

此设备上安装了电子钱包项目的应用。

AppNotInstalled 2

存在用于钱包项的应用,但设备上未安装该应用。

None 0

没有与电子钱包项目关联的应用。

适用于