ReferenceList.Insert(Int32, Object) 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 un ou DataReference un KeyReference objet dans la ReferenceList collection à la position spécifiée.
public:
virtual void Insert(int index, System::Object ^ value);
public void Insert(int index, object? value);
public void Insert(int index, object value);
abstract member Insert : int * obj -> unit
override this.Insert : int * obj -> unit
Public Sub Insert (index As Integer, value As Object)
Paramètres
- index
- Int32
Index de base zéro auquel value doit être inséré.
- value
- Object
Objet DataReference ou KeyReference objet à insérer dans la ReferenceList collection.
Implémente
Exceptions
Le value paramètre n’est pas un DataReference objet.
- ou -
Le value paramètre n’est pas un KeyReference objet.
Le value paramètre est null.