Share via


ReferenceList.Insert(Int32, Object) Méthode

Définition

Insère un objet DataReference ou KeyReference dans la collection ReferenceList à 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 au niveau duquel value doit être inséré.

value
Object

Objet DataReference ou KeyReference à insérer dans la collection ReferenceList.

Implémente

Exceptions

Le paramètre value n'est pas un objet DataReference.

- ou -

Le paramètre value n'est pas un objet KeyReference.

Le paramètre value a la valeur null.

S’applique à