Share via


LookupList<T>.Contains method

Indicates whether a specified entity is in the LookupList<T>.

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

Syntax

'Declaration
Public Function Contains ( _
    item As T _
) As Boolean
'Usage
Dim instance As LookupList
Dim item As T
Dim returnValue As Boolean

returnValue = instance.Contains(item)
public bool Contains(
    T item
)

Parameters

  • item
    Type: T

    The item whose presence is questioned.

Return value

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

Implements

ICollection<T>.Contains(T)

See also

Reference

LookupList<T> class

LookupList<T> members

Microsoft.SharePoint.Linq namespace