SortedList(Of TKey, TValue).ICollection(Of KeyValuePair(Of TKey, TValue)).Contains Method (KeyValuePair(Of TKey, TValue))
Determines whether the ICollection(Of T) contains a specific element.
Assembly: System (in System.dll)
Private Function Contains ( keyValuePair As KeyValuePair(Of TKey, TValue) ) As Boolean Implements ICollection(Of KeyValuePair(Of TKey, TValue)).Contains
Parameters
- keyValuePair
-
Type:
System.Collections.Generic.KeyValuePair(Of TKey, TValue)
The KeyValuePair(Of TKey, TValue) to locate in the ICollection(Of T).
Return Value
Type: System.Booleantrue if keyValuePair is found in the ICollection(Of T); otherwise, false.
Implements
ICollection(Of T).Contains(T)
Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Available since 10
.NET Framework
Available since 2.0
Show: