Android Guides | Samples

Java.Lang.Reflect.Array Class

Provides static methods to create and access arrays dynamically.

See Also: Array

Syntax

[Android.Runtime.Register("java/lang/reflect/Array", DoNotGenerateAcw=true)]
public sealed class Array : Object

Remarks

Provides static methods to create and access arrays dynamically.

[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

The members of Java.Lang.Reflect.Array are listed below.

See Also: Object

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

static
Get(Object, Int32) : Object
Returns the element of the array at the specified index.
static
GetBoolean(Object, Int32) : Boolean
Returns the boolean at the given index in the given boolean array.
static
GetByte(Object, Int32) : SByte
Returns the byte at the given index in the given byte array.
static
GetChar(Object, Int32) : Char
Returns the char at the given index in the given char array.
static
GetDouble(Object, Int32) : Double
Returns the double at the given index in the given array.
static
GetFloat(Object, Int32) : Single
Returns the float at the given index in the given array.
static
GetInt(Object, Int32) : Int32
Returns the int at the given index in the given array.
static
GetLength(Object) : Int32
Returns the length of the array.
static
GetLong(Object, Int32) : Int64
Returns the long at the given index in the given array.
static
GetShort(Object, Int32) : Int16
Returns the short at the given index in the given array.
static
NewInstance(Class, Int32) : Object
static
NewInstance(Class, params Int32[]) : Object
static
Set(Object, Int32, Object)
Sets the element of the array at the specified index to the value.
static
SetBoolean(Object, Int32, Boolean)
Sets array[index] = value.
static
SetByte(Object, Int32, SByte)
Sets array[index] = value.
static
SetChar(Object, Int32, Char)
Sets array[index] = value.
static
SetDouble(Object, Int32, Double)
Sets array[index] = value.
static
SetFloat(Object, Int32, Single)
Sets array[index] = value.
static
SetInt(Object, Int32, Int32)
Sets array[index] = value.
static
SetLong(Object, Int32, Int64)
Sets array[index] = value.
static
SetShort(Object, Int32, Int16)
Sets array[index] = value.