Remove Method
Collapse the table of content
Expand the table of content

WalletItemCollection.Remove Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Removes the specified WalletItem object from the collection. This method is not supported on this read-only collection.

Namespace:  Microsoft.Phone.Wallet
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public bool Remove(
	WalletItem item
)

Parameters

item
Type: Microsoft.Phone.Wallet.WalletItem
The item to remove.

Return Value

Type: System.Boolean
true if the item was removed; Otherwise, false

Implements

ICollection<T>.Remove(T)

This method throws NotSupportedException on when called on this read-only collection.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft