Share via


WalletItem.Id 屬性

定義

警告

不再支援 ApplicationModel.Wallet 命名空間,且即將淘汰。 我們鼓勵開發人員避免使用此命名空間。

取得電子錢包專案的唯一識別碼。

public:
 property Platform::String ^ Id { Platform::String ^ get(); };
winrt::hstring Id();
/// [get: Windows.Foundation.Metadata.Deprecated("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
winrt::hstring Id();
public string Id { get; }
public string Id { [Windows.Foundation.Metadata.Deprecated("IWalletItem is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")] get; }
var string = walletItem.id;
Public ReadOnly Property Id As String

屬性值

String

Platform::String

winrt::hstring

電子錢包專案的唯一識別碼。 這通常不會顯示在 UI 中。 這可能與用於條碼的值相同,但實作 (您的或電子錢包專案提供者) 。

屬性

適用於