Java.Lang.Character.OffsetByCodePoints Method
Determines the index in a subsequence of the specified character array that is offset codePointOffset code points from index.

Syntax

[Android.Runtime.Register("offsetByCodePoints", "([CIIII)I", "")]
public static int OffsetByCodePoints (char[] seq, int start, int count, int index, int codePointOffset)

Parameters

seq
the character array to find the index in.
start
the inclusive index that marks the beginning of the subsequence.
count
the number of char values to include within the subsequence.
index
the start index in the subsequence of the char array.
codePointOffset
the number of code points to look backwards or forwards; may be a negative or positive value.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif seq is null.
Java.Lang.IndexOutOfBoundsExceptionif start , count , index , index > start + count, start + count is greater than the length of seq, or if there are not enough values in seq to skip codePointOffset code points forward or backward (if codePointOffset is negative) from index.

Remarks

Determines the index in a subsequence of the specified character array that is offset codePointOffset code points from index. The subsequence is delineated by start and count.

[Android Documentation]

Requirements

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