Share via


WalletItem.DisplayProperties 属性

定义

注意

ApplicationModel.Wallet 命名空间不再受支持,不久将弃用。 建议开发人员避免使用此命名空间。

获取与 电子钱包项关联的 WalletItemCustomProperty 对象的集合。

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)

属性值

与电子钱包项目关联的 WalletItemCustomProperty 对象的集合。

属性

注解

DisplayProperties 映射的键通常不用于用户 UI。 它是用于区分各个自定义属性的编程标识符。 该标识符不是 WalletItemCustomProperty 构造的一部分;将其中一个自定义属性添加到 DisplayProperties 集合时,可以选择它。

适用于

另请参阅