Udostępnij za pośrednictwem


UCharacter.OffsetByCodePoints Method

Definition

Overloads

OffsetByCodePoints(ICharSequence, Int32, Int32)
OffsetByCodePoints(String, Int32, Int32)
OffsetByCodePoints(Char[], Int32, Int32, Int32, Int32)

OffsetByCodePoints(ICharSequence, Int32, Int32)

[Android.Runtime.Register("offsetByCodePoints", "(Ljava/lang/CharSequence;II)I", "", ApiSince=24)]
public static int OffsetByCodePoints (Java.Lang.ICharSequence? text, int index, int codePointOffset);
[<Android.Runtime.Register("offsetByCodePoints", "(Ljava/lang/CharSequence;II)I", "", ApiSince=24)>]
static member OffsetByCodePoints : Java.Lang.ICharSequence * int * int -> int

Parameters

index
Int32
codePointOffset
Int32

Returns

Attributes

Remarks

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

OffsetByCodePoints(String, Int32, Int32)

public static int OffsetByCodePoints (string? text, int index, int codePointOffset);
static member OffsetByCodePoints : string * int * int -> int

Parameters

text
String
index
Int32
codePointOffset
Int32

Returns

Remarks

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

OffsetByCodePoints(Char[], Int32, Int32, Int32, Int32)

[Android.Runtime.Register("offsetByCodePoints", "([CIIII)I", "", ApiSince=24)]
public static int OffsetByCodePoints (char[]? text, int start, int count, int index, int codePointOffset);
[<Android.Runtime.Register("offsetByCodePoints", "([CIIII)I", "", ApiSince=24)>]
static member OffsetByCodePoints : char[] * int * int * int * int -> int

Parameters

text
Char[]
start
Int32
count
Int32
index
Int32
codePointOffset
Int32

Returns

Attributes

Remarks

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