ReadOnlyDictionary(Of TKey, TValue).KeyCollection.ICollection(Of TKey).Contains Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines whether the collection contains a specific value.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Private Function Contains ( _ item As TKey _ ) As Boolean Implements ICollection(Of TKey).Contains
Parameters
- item
- Type: TKey
The object to locate in the collection.
Implements
ICollection(Of T).Contains(T)This member is an explicit interface member implementation. It can be used only when the ReadOnlyDictionary(Of TKey, TValue).KeyCollection instance is cast to an ICollection(Of T) interface.
Show: