Udostępnij za pośrednictwem


WalletItem.Id Property

Definition

Caution

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

Gets the unique identifier of the wallet item.

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

Property Value

String

Platform::String

winrt::hstring

The unique identifier of the wallet item. This usually isn't displayed in UI. This might be the same value as was used for the Value of the Barcode, but that's up to the implementation (yours or the wallet item provider).

Attributes

Applies to