Udostępnij za pośrednictwem


WalletItemKind Enum

Definition

Caution

The ApplicationModel.Wallet namespace is no longer supported, and will soon be deprecated. Developers are encouraged to avoid using this namespace.

Represents the kinds (classifications) of wallet items supported.

public enum class WalletItemKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WalletItemKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("WalletItemKind 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 WalletItemKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WalletItemKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("WalletItemKind 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 WalletItemKind
var value = Windows.ApplicationModel.Wallet.WalletItemKind.invalid
Public Enum WalletItemKind
Inheritance
WalletItemKind
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Invalid 0

The item is invalid.

Deal 1

A deal.

General 2

A general item.

PaymentInstrument 3

A payment instrument.

Ticket 4

A ticket.

BoardingPass 5

A boarding pass.

MembershipCard 6

A membership card.

Applies to

See also