WalletItem.DisplayProperties 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 collection of WalletItemCustomProperty objects associated with the wallet item.

public:
 property IMap<Platform::String ^, WalletItemCustomProperty ^> ^ DisplayProperties { IMap<Platform::String ^, WalletItemCustomProperty ^> ^ get(); };
IMap<winrt::hstring, WalletItemCustomProperty const&> DisplayProperties();
/// [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")]
IMap<winrt::hstring, WalletItemCustomProperty const&> DisplayProperties();
public IDictionary<string,WalletItemCustomProperty> DisplayProperties { get; }
public IDictionary<string,WalletItemCustomProperty> DisplayProperties { [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 iMap = walletItem.displayProperties;
Public ReadOnly Property DisplayProperties As IDictionary(Of String, WalletItemCustomProperty)

Property Value

The collection of WalletItemCustomProperty objects associated with the wallet item.

Attributes

Remarks

The key for the DisplayProperties map is typically not used for the user UI. It's a programming identifier that you use to distinguish the individual custom properties. That identifier isn't part of the construction of a WalletItemCustomProperty; you choose it when you add one of the custom properties to the DisplayProperties collection.

Applies to

See also