EntitySet(Of TEntity).Contains Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Specifies whether the EntitySet(Of TEntity) contains a specific entity.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
Parameters
- entity
- Type: TEntity
The entity.
Return Value
Type: System.Booleantrue if the EntitySet(Of TEntity) contains the entity; otherwise, false.
Implements
ICollection(Of T).Contains(T)
Show: