Enumerable.Contains Method

 

Determines whether a sequence contains a specified element.

Namespace:   System.Linq
Assembly:  System.Core (in System.Core.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticContains(Of TSource)(IEnumerable(Of TSource), TSource)

Determines whether a sequence contains a specified element by using the default equality comparer.

System_CAPS_pubmethodSystem_CAPS_staticContains(Of TSource)(IEnumerable(Of TSource), TSource, IEqualityComparer(Of TSource))

Determines whether a sequence contains a specified element by using a specified IEqualityComparer(Of T).

Return to top
Show: