SPFieldLookupValueCollection.ContainsId method

Gets a value that indicates whether the collection contains the specified ID.

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

Syntax

'Declaration
Public Function ContainsId ( _
    id As Integer _
) As Boolean
'Usage
Dim instance As SPFieldLookupValueCollection
Dim id As Integer
Dim returnValue As Boolean

returnValue = instance.ContainsId(id)
public bool ContainsId(
    int id
)

Parameters

Return value

Type: System.Boolean
true if the collection contains the ID; false, otherwise

See also

Reference

SPFieldLookupValueCollection class

SPFieldLookupValueCollection members

Microsoft.SharePoint namespace