Lookup(Of TKey, TElement).Contains Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines whether a specified key is in the Lookup(Of TKey, TElement).
Assembly: System.Core (in System.Core.dll)
Parameters
- key
- Type: TKey
The key to find in the Lookup(Of TKey, TElement).
Implements
ILookup(Of TKey, TElement).Contains(TKey)The following example demonstrates how to use Contains to determine whether a Lookup(Of TKey, TElement) contains a specified key. This code example is part of a larger example provided for the Lookup(Of TKey, TElement) class.
Show: