다음을 통해 공유


Array.SetDouble(Object, Int32, Double) Method

Definition

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

[Android.Runtime.Register("setDouble", "(Ljava/lang/Object;ID)V", "")]
public static void SetDouble (Java.Lang.Object array, int index, double d);
[<Android.Runtime.Register("setDouble", "(Ljava/lang/Object;ID)V", "")>]
static member SetDouble : Java.Lang.Object * int * double -> unit

Parameters

array
Object

the array

index
Int32

the index into the array

d
Double

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 double value.

Java documentation for java.lang.reflect.Array.setDouble(java.lang.Object, int, double).

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