Share via


ArraySet.Add(Object) Method

Definition

Adds the specified object to this set.

[Android.Runtime.Register("add", "(Ljava/lang/Object;)Z", "", ApiSince=23)]
public bool Add (Java.Lang.Object? value);
[<Android.Runtime.Register("add", "(Ljava/lang/Object;)Z", "", ApiSince=23)>]
abstract member Add : Java.Lang.Object -> bool
override this.Add : Java.Lang.Object -> bool

Parameters

value
Object

the object to add.

Returns

true if this set is modified, false otherwise.

Implements

Attributes

Remarks

Adds the specified object to this set. The set is not modified if it already contains the object.

Java documentation for android.util.ArraySet.add(E).

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