Array.GetBoolean(Object, Int32) Array.GetBoolean(Object, Int32) Method

Definition

Returns the boolean at the given index in the given boolean array.

[Android.Runtime.Register("getBoolean", "(Ljava/lang/Object;I)Z", "")]
public static bool GetBoolean (Java.Lang.Object array, int index);
static member GetBoolean : Java.Lang.Object * int -> bool

Parameters

array
Object Object
index
Int32 Int32

Returns

Exceptions

if array is not an array or the element at the index position can not be converted to the return type

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