Bagikan melalui


WalletItem(WalletItemKind, String) Konstruktor

Definisi

Perhatian

Namespace ApplicationModel.Wallet tidak lagi didukung, dan akan segera ditolak. Pengembang didorong untuk menghindari penggunaan namespace ini.

Menginisialisasi instans baru kelas 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)

Parameter

kind
WalletItemKind

Jenis item dompet.

displayName
String

Platform::String

winrt::hstring

Nama tampilan item.

Atribut

Berlaku untuk