Share via


LookupList<T>.Remove Method

Removes the specified item from the LookupList<T>.

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

Syntax

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

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

Parameters

  • item
    Type: T

    The item that is removed.

Return Value

Type: System.Boolean
true, if the item is successfully removed; false if it is not successfully removed or if it is not in the collection.

Implements

ICollection<T>.Remove(T)

See Also

Reference

LookupList<T> Class

LookupList<T> Members

Microsoft.SharePoint.Linq Namespace