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.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Property Value
Type: System.Collections.Generic.IDictionary<String, CustomWalletProperty>The CustomWalletProperty collection for the wallet item.
| 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. |
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.