EntitySet<TEntity>.Insert(Int32, 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.
Insère une entité à une position d'index.
public:
virtual void Insert(int index, TEntity entity);
public void Insert(int index, TEntity entity);
abstract member Insert : int * 'Entity -> unit
override this.Insert : int * 'Entity -> unit
Public Sub Insert (index As Integer, entity As TEntity)
Paramètres
- index
- Int32
Index représentant la position à laquelle insérer l'entité.
- entity
- TEntity
Entité à insérer.