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