Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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<TSource>(IEnumerable<TSource>^, TSource)

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

System_CAPS_pubmethodSystem_CAPS_staticContains<TSource>(IEnumerable<TSource>^, TSource, IEqualityComparer<TSource>^)

Determines whether a sequence contains a specified element by using a specified IEqualityComparer<T>.

Return to top
Show: