Java.Util.Arrays.CopyOfRange Method
Copies elements from original into a new array, from indexes start (inclusive) to end (exclusive).

Syntax

[Android.Runtime.Register("copyOfRange", "([SII)[S", "")]
public static short[] CopyOfRange (short[] p0, int p1, int p2)

Parameters

original
the original array
start
the start index, inclusive
end
the end index, exclusive

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.ArrayIndexOutOfBoundsExceptionif start original.length
Java.Lang.IllegalArgumentExceptionif start > end
Java.Lang.NullPointerExceptionif original == null

Remarks

Copies elements from original into a new array, from indexes start (inclusive) to end (exclusive). The original order of elements is preserved. If end is greater than original.length, the result is padded with the value (short) 0.

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9