Freigeben über


JavaList.Add Method

Definition

Overloads

Add(JavaList)
Add(Object)
Add(Object)
Add(Int32, Object)

Add(JavaList)

public virtual bool Add (Android.Runtime.JavaList collection);
abstract member Add : Android.Runtime.JavaList -> bool
override this.Add : Android.Runtime.JavaList -> bool

Parameters

collection
JavaList

Returns

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Add(Object)

public virtual bool Add (Java.Lang.Object? item);
abstract member Add : Java.Lang.Object -> bool
override this.Add : Java.Lang.Object -> bool

Parameters

item
Object

Returns

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Add(Object)

public int Add (object? item);
abstract member Add : obj -> int
override this.Add : obj -> int

Parameters

item
Object

Returns

Implements

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Add(Int32, Object)

public virtual bool Add (int index, Java.Lang.Object? item);
abstract member Add : int * Java.Lang.Object -> bool
override this.Add : int * Java.Lang.Object -> bool

Parameters

index
Int32
item
Object

Returns

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to