語言

ArrayAdapter.Insert(Object, Int32) 方法

定義

在陣列中指定的索引處插入指定的物件。

[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

參數

object
Object

要插入到陣列中的物件。

index
Int32

物件必須插入的索引。

屬性

備註

在陣列中指定的索引處插入指定的物件。

Java 文件 android.widget.ArrayAdapter.insert(T, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於