Array.SetShort(Object, Int32, Int16) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the value of the indexed component of the specified array
object to the specified short
value.
[Android.Runtime.Register("setShort", "(Ljava/lang/Object;IS)V", "")]
public static void SetShort (Java.Lang.Object array, int index, short s);
[<Android.Runtime.Register("setShort", "(Ljava/lang/Object;IS)V", "")>]
static member SetShort : Java.Lang.Object * int * int16 -> unit
Parameters
- array
- Object
the array
- index
- Int32
the index into the array
- s
- Int16
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 short
value.
Java documentation for java.lang.reflect.Array.setShort(java.lang.Object, int, short)
.
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.