Bagikan melalui


EntitySet<TEntity>.Contains(TEntity) Metode

Definisi

Menentukan apakah EntitySet<TEntity> berisi entitas tertentu.

public:
 virtual bool Contains(TEntity entity);
public bool Contains (TEntity entity);
abstract member Contains : 'Entity -> bool
override this.Contains : 'Entity -> bool
Public Function Contains (entity As TEntity) As Boolean

Parameter

entity
TEntity

Entitas.

Mengembalikan

true EntitySet<TEntity> jika berisi entitas; jika tidak, false.

Penerapan

Berlaku untuk