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 集合時,就會選擇它。

適用於

另請參閱