共用方式為


UCharacter.CodePointAt Method

Definition

Overloads

CodePointAt(ICharSequence, Int32)

Same as Character#codePointAt(CharSequence, int).

CodePointAt(Char[], Int32)

Same as Character#codePointAt(char[], int).

CodePointAt(String, Int32)

Same as Character#codePointAt(CharSequence, int).

CodePointAt(Char[], Int32, Int32)

Same as Character#codePointAt(char[], int, int).

CodePointAt(ICharSequence, Int32)

Same as Character#codePointAt(CharSequence, int).

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

Parameters

seq
ICharSequence

the characters to check

index
Int32

the index of the first or only char forming the code point

Returns

the code point at the index

Attributes

Remarks

Same as Character#codePointAt(CharSequence, int). Returns the code point at index. This examines only the characters at index and index+1.

Java documentation for android.icu.lang.UCharacter.codePointAt(java.lang.CharSequence, int).

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

CodePointAt(Char[], Int32)

Same as Character#codePointAt(char[], int).

[Android.Runtime.Register("codePointAt", "([CI)I", "", ApiSince=24)]
public static int CodePointAt (char[]? text, int index);
[<Android.Runtime.Register("codePointAt", "([CI)I", "", ApiSince=24)>]
static member CodePointAt : char[] * int -> int

Parameters

text
Char[]

the characters to check

index
Int32

the index of the first or only char forming the code point

Returns

the code point at the index

Attributes

Remarks

Same as Character#codePointAt(char[], int). Returns the code point at index. This examines only the characters at index and index+1.

Java documentation for android.icu.lang.UCharacter.codePointAt(char[], int).

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

CodePointAt(String, Int32)

Same as Character#codePointAt(CharSequence, int).

public static int CodePointAt (string? seq, int index);
static member CodePointAt : string * int -> int

Parameters

seq
String

the characters to check

index
Int32

the index of the first or only char forming the code point

Returns

the code point at the index

Remarks

Same as Character#codePointAt(CharSequence, int). Returns the code point at index. This examines only the characters at index and index+1.

Java documentation for android.icu.lang.UCharacter.codePointAt(java.lang.CharSequence, int).

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

CodePointAt(Char[], Int32, Int32)

Same as Character#codePointAt(char[], int, int).

[Android.Runtime.Register("codePointAt", "([CII)I", "", ApiSince=24)]
public static int CodePointAt (char[]? text, int index, int limit);
[<Android.Runtime.Register("codePointAt", "([CII)I", "", ApiSince=24)>]
static member CodePointAt : char[] * int * int -> int

Parameters

text
Char[]

the characters to check

index
Int32

the index of the first or only char forming the code point

limit
Int32

the limit of the valid text

Returns

the code point at the index

Attributes

Remarks

Same as Character#codePointAt(char[], int, int). Returns the code point at index. This examines only the characters at index and index+1.

Java documentation for android.icu.lang.UCharacter.codePointAt(char[], int, int).

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