JSONArray.Remove(Int32) Method

Definition

Removes and returns the value at index, or null if the array has no value at index.

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

Parameters

index
Int32

The index of the value to remove.

Returns

The removed value, or null if the array has no value at that index.

Attributes

Remarks

Removes and returns the value at index, or null if the array has no value at index.

Java documentation for org.json.JSONArray.remove(int).

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