ReadOnlyDictionary(Of TKey, TValue).ICollection(Of KeyValuePair(Of TKey, TValue)).Contains Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Determines whether the dictionary contains a specific value.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Private Function Contains ( _ item As KeyValuePair(Of TKey, TValue) _ ) As Boolean Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Contains
Parameters
- item
- Type: System.Collections.Generic.KeyValuePair(Of TKey, TValue)
The object to locate in the dictionary.
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) instance is cast to an ICollection(Of T) interface.
Show: