IList.Remove IList.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:Java.Util.IListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool Remove (Java.Lang.Object o);
abstract member Remove : Java.Lang.Object -> bool

Parameters

Returns

Implements

Exceptions

if removing from this List is not supported.

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:Java.Util.IListInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Lang.Object Remove (int index);
abstract member Remove : int -> Java.Lang.Object

Parameters

index
Int32 Int32

Returns

Exceptions

if removing from this List is not supported.

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