WalletItem(WalletItemKind, String) Construtor

Definição

Cuidado

O namespace ApplicationModel.Wallet não tem mais suporte e, em breve, será preterido. Os desenvolvedores são incentivados a evitar o uso desse namespace.

Inicializa uma nova instância da classe WalletItem .

public:
 WalletItem(WalletItemKind kind, Platform::String ^ displayName);
 WalletItem(WalletItemKind const& kind, winrt::hstring const& displayName);
/// [Windows.Foundation.Metadata.Deprecated("IWalletItemFactory is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
 WalletItem(WalletItemKind const& kind, winrt::hstring const& displayName);
public WalletItem(WalletItemKind kind, string displayName);
[Windows.Foundation.Metadata.Deprecated("IWalletItemFactory is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
public WalletItem(WalletItemKind kind, string displayName);
function WalletItem(kind, displayName)
Public Sub New (kind As WalletItemKind, displayName As String)

Parâmetros

kind
WalletItemKind

O tipo de item de carteira.

displayName
String

Platform::String

winrt::hstring

O nome de exibição do item.

Atributos

Aplica-se a