EntitySet<TEntity>.IndexOf(TEntity) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne l'index de l'entité.
public:
virtual int IndexOf(TEntity entity);
public int IndexOf(TEntity entity);
abstract member IndexOf : 'Entity -> int
override this.IndexOf : 'Entity -> int
Public Function IndexOf (entity As TEntity) As Integer
Paramètres
- entity
- TEntity
Entité dont l'index doit être retourné.
Retours
Entier représentant l'index.