WalletItemCollection.Contains Method (String)

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

Determines whether the WalletItem, identified by the given app defined unique ID, is in the collection.

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

Syntax

Public Function Contains ( _
    id As String _
) As Boolean
public bool Contains(
    string id
)

Parameters

Return Value

Type: System..::.Boolean
true if the item with the specified ID exists in the collection; Otherwise, false.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

WalletItemCollection Class

Contains Overload

Microsoft.Phone.Wallet Namespace