[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Provides an app access to its Wallet items.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
Public NotInheritable Class Wallet
public static class Wallet
The Wallet type exposes the following members.
|Clear||Deletes all items owned by your app from the wallet.|
|FindItem||Searches for a wallet item with the specified Id.|
|GetItemsAsync||Asynchronously retrieves a list of all wallet items owned by your app.|
|Remove(String)||Deletes the wallet item with the given ID from wallet.|
|Remove(WalletItem)||Deletes the specified wallet item from the wallet.|
If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.
Windows Phone 8
For more info, see App capabilities and hardware requirements for Windows Phone 8.
Windows Phone OS
Supported in: 8.1, 8.0
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.