ArrayAdapter.Insert(Object, Int32) 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 l’objet spécifié à l’index spécifié dans le tableau.
[Android.Runtime.Register("insert", "(Ljava/lang/Object;I)V", "GetInsert_Ljava_lang_Object_IHandler")]
public virtual void Insert(Java.Lang.Object? object, int index);
[<Android.Runtime.Register("insert", "(Ljava/lang/Object;I)V", "GetInsert_Ljava_lang_Object_IHandler")>]
abstract member Insert : Java.Lang.Object * int -> unit
override this.Insert : Java.Lang.Object * int -> unit
Paramètres
- object
- Object
Objet à insérer dans le tableau.
- index
- Int32
Index auquel l’objet doit être inséré.
- Attributs
Remarques
Insère l’objet spécifié à l’index spécifié dans le tableau.
Documentation Java pour android.widget.ArrayAdapter.insert(T, int).
Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.