Java.Util.ICollection.Remove Method
Removes one instance of the specified object from this Collection if one is contained (optional).

Syntax

[Android.Runtime.Register("remove", "(Ljava/lang/Object;)Z", "GetRemove_Ljava_lang_Object_Handler:Java.Util.ICollectionInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool Remove (Java.Lang.Object object)

Parameters

object
the object to remove.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.UnsupportedOperationExceptionif removing from this Collection is not supported.
Java.Lang.ClassCastExceptionif the object passed is not of the correct type.
Java.Lang.NullPointerExceptionif object is null and this Collection doesn't support null elements.

Remarks

Removes one instance of the specified object from this Collection if one is contained (optional). The element elem that is removed complies with (object==null ? elem==null : object.equals(elem).

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1