CopyOnWriteArrayList.Remove CopyOnWriteArrayList.Remove Method

Definition

Overloads

Remove(Object) Remove(Object)

Removes the first occurrence of the specified object from this List.

Remove(Int32) Remove(Int32)

Removes the object at the specified location from this List.

Remove(Object) Remove(Object)

Removes the first occurrence of the specified object from this List.

[Android.Runtime.Register("remove", "(Ljava/lang/Object;)Z", "GetRemove_Ljava_lang_Object_Handler")]
public virtual bool Remove (Java.Lang.Object o);
abstract member Remove : Java.Lang.Object -> bool
override this.Remove : Java.Lang.Object -> bool

Parameters

o
Object Object

the object to remove.

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.

Remove(Int32) Remove(Int32)

Removes the object at the specified location from this List.

[Android.Runtime.Register("remove", "(I)Ljava/lang/Object;", "GetRemove_IHandler")]
public virtual Java.Lang.Object Remove (int index);
abstract member Remove : int -> Java.Lang.Object
override this.Remove : int -> Java.Lang.Object

Parameters

index
Int32 Int32

the index of the object to remove.

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