Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes the specified entity from the EntitySet<TEntity>.
Namespace: Microsoft.SharePoint.Linq
Assembly: Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)
Syntax
'Declaration
Public Function Remove ( _
entity As TEntity _
) As Boolean
'Usage
Dim instance As EntitySet
Dim entity As TEntity
Dim returnValue As Boolean
returnValue = instance.Remove(entity)
public bool Remove(
TEntity entity
)
Parameters
entity
Type: TEntityThe entity that is removed.
Return Value
Type: System.Boolean
true, if the entity is successfully removed; false if it is not successfully removed or if it is not in the collection.