Java.Lang.StringBuilder.OffsetByCodePoints Method
Returns the index that is offset codePointOffset code points from index.

Syntax

[Android.Runtime.Register("offsetByCodePoints", "(II)I", "")]
public override int OffsetByCodePoints (int index, int codePointOffset)

See Also

Character
Character.OffsetByCodePoints(Char[], System.Int32, System.Int32, System.Int32, System.Int32)

Parameters

index
the index to calculate the offset from.
codePointOffset
the number of code points to count.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif index is negative or greater than StringBuilder.Length or if there aren't enough code points before or after index to match codePointOffset.

Remarks

Returns the index that is offset codePointOffset code points from index.

[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