EntitySet<TEntity>.Remove Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Removes an entity.
Namespace: System.Data.Linq
Assembly: System.Data.Linq (in System.Data.Linq.dll)
Syntax
'Declaration
Public Function Remove ( _
entity As TEntity _
) As Boolean
public bool Remove(
TEntity entity
)
Parameters
- entity
Type: TEntity
The entity to be removed.
Return Value
Type: System.Boolean
true if the entity is successfully removed; otherwise, false.
Implements
Version Information
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.