次の方法で共有


Array.SetLong(Object, Int32, Int64) Method

Definition

Sets the value of the indexed component of the specified array object to the specified long value.

[Android.Runtime.Register("setLong", "(Ljava/lang/Object;IJ)V", "")]
public static void SetLong (Java.Lang.Object array, int index, long l);
[<Android.Runtime.Register("setLong", "(Ljava/lang/Object;IJ)V", "")>]
static member SetLong : Java.Lang.Object * int * int64 -> unit

Parameters

array
Object

the array

index
Int32

the index into the array

l
Int64

the new value of the indexed component

Attributes

Exceptions

if array == null

if the array is not an array or the value cannot be converted to the array type by a widening conversion

if index = array.length

Remarks

Sets the value of the indexed component of the specified array object to the specified long value.

Java documentation for java.lang.reflect.Array.setLong(java.lang.Object, int, long).

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