WalletItem.CustomProperties Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the collection of CustomWalletProperty objects associated with the wallet item.
Namespace: Microsoft.Phone.Wallet
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Syntax
Public ReadOnly Property CustomProperties As IDictionary(Of String, CustomWalletProperty)
public IDictionary<string, CustomWalletProperty> CustomProperties { get; }
Property Value
Type: System.Collections.Generic..::.IDictionary<(Of <(String, CustomWalletProperty>)>)
The CustomWalletProperty collection for the wallet item.
Exceptions
Exception | Condition |
---|---|
IndexOutOfRangeException | You can store up to 10 custom properties in this collection. This exception is thrown if you attempt to exceed this limit. |
Remarks
Each wallet item can have a collection of custom properties associated with it. Each custom property can consist of a label and value.
Custom properties could include such things as the number of loyalty points for a loyalty card wallet item, airline miles balance, number of coffees until you receive a free coffee etc.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0