CustomProperties Property

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)

Public ReadOnly Property CustomProperties As IDictionary(Of String, CustomWalletProperty)

Property Value

Type: System.Collections.Generic.IDictionary(Of String, CustomWalletProperty)
The CustomWalletProperty collection for the wallet item.


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.

Windows Phone OS

Supported in: 8.1, 8.0

© 2017 Microsoft