DevForce Help Reference
Contains Method (QueryableExtensions)


Determines whether a sequence contains a specified element by using the default equality comparer.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Function Contains( _
   ByVal source As IQueryable, _
   ByVal item As Object _
) As Boolean
'Usage
 
Dim source As IQueryable
Dim item As Object
Dim value As Boolean
 
value = QueryableExtensions.Contains(source, item)
[Extension()]
public static bool Contains( 
   IQueryable source,
   object item
)

Parameters

source
item
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

QueryableExtensions Class
QueryableExtensions Members

Send Feedback