Java.Lang.Reflect.Array.GetInt Method
Returns the int at the given index in the given array.

Syntax

[Android.Runtime.Register("getInt", "(Ljava/lang/Object;I)I", "")]
public static int GetInt (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 or the element at the index position can not be converted to the return type
Java.Lang.ArrayIndexOutOfBoundsExceptionif index = array.length

Remarks

Returns the int at the given index in the given array. Applies to byte, char, int, and short arrays.

[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