Java.Lang.Reflect.Array.Get Method
Returns the element of the array at the specified index.

Syntax

[Android.Runtime.Register("get", "(Ljava/lang/Object;I)Ljava/lang/Object;", "")]
public static Java.Lang.Object Get (Java.Lang.Object array, int index)

Parameters

array
Documentation for this section has not yet been entered.
index
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif array == null
Java.Lang.IllegalArgumentExceptionif array is not an array
Java.Lang.ArrayIndexOutOfBoundsExceptionif index = array.length

Remarks

Returns the element of the array at the specified index. Equivalent to array[index]. If the array component is a primitive type, the result is automatically boxed.

[Android Documentation]

Requirements

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