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