Share via


EntitySet<TEntity>.Contains method (Object)

Indicates whether a specified object is in the EntitySet<TEntity>.

Namespace:  Microsoft.SharePoint.Linq
Assembly:  Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)

Syntax

'Declaration
Public Function Contains ( _
    value As Object _
) As Boolean
'Usage
Dim instance As EntitySet
Dim value As Object
Dim returnValue As Boolean

returnValue = instance.Contains(value)
public bool Contains(
    Object value
)

Parameters

  • value
    Type: System.Object

    The object whose presence is questioned.

Return value

Type: System.Boolean
true, if the object is present; false otherwise..

Implements

IList.Contains(Object)

See also

Reference

EntitySet<TEntity> class

EntitySet<TEntity> members

Contains overload

Microsoft.SharePoint.Linq namespace