Condividi tramite


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