Enumerable.Contains Method

Include Protected Members
Include Inherited Members

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Determines whether a sequence contains a specified element.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

Name Description
Contains<(Of <(TSource>)>)(IEnumerable<(Of <(TSource>)>), TSource) Determines whether a sequence contains a specified element by using the default equality comparer.
Contains<(Of <(TSource>)>)(IEnumerable<(Of <(TSource>)>), TSource, IEqualityComparer<(Of <(TSource>)>)) Determines whether a sequence contains a specified element by using a specified IEqualityComparer<(Of <(T>)>).

Top

See Also

Reference

Enumerable Class

Enumerable Members

System.Linq Namespace