语言

UCharacter.CodePointAt 方法

定义

重载

名称 说明
CodePointAt(ICharSequence, Int32)

与 Character#codePointAt(CharSequence, int) 相同。

CodePointAt(Char[], Int32)

与 Character#codePointAt(char[], int) 相同。

CodePointAt(String, Int32)

与 Character#codePointAt(CharSequence, int) 相同。

CodePointAt(Char[], Int32, Int32)

与 Character#codePointAt(char[], int, int) 相同。

CodePointAt(ICharSequence, Int32)

与 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

参数

seq
ICharSequence

要检查的字符

index
Int32

构成代码点的第一个或唯一字符的索引

返回

索引处的代码点

特性

注解

与 Character#codePointAt(CharSequence, int) 相同。 返回索引处的代码点。 这仅检查索引和索引+1 上的字符。

Java文档android.icu.lang.UCharacter.codePointAt(java.lang.CharSequence, int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

CodePointAt(Char[], Int32)

与 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

参数

text
Char[]

要检查的字符

index
Int32

构成代码点的第一个或唯一字符的索引

返回

索引处的代码点

特性

注解

与 Character#codePointAt(char[], int) 相同。 返回索引处的代码点。 这仅检查索引和索引+1 上的字符。

Java文档android.icu.lang.UCharacter.codePointAt(char[], int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

CodePointAt(String, Int32)

与 Character#codePointAt(CharSequence, int) 相同。

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

参数

seq
String

要检查的字符

index
Int32

构成代码点的第一个或唯一字符的索引

返回

索引处的代码点

注解

与 Character#codePointAt(CharSequence, int) 相同。 返回索引处的代码点。 这仅检查索引和索引+1 上的字符。

Java文档android.icu.lang.UCharacter.codePointAt(java.lang.CharSequence, int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

CodePointAt(Char[], Int32, Int32)

与 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

参数

text
Char[]

要检查的字符

index
Int32

构成代码点的第一个或唯一字符的索引

limit
Int32

有效文本的限制

返回

索引处的代码点

特性

注解

与 Character#codePointAt(char[], int, int) 相同。 返回索引处的代码点。 这仅检查索引和索引+1 上的字符。

Java文档android.icu.lang.UCharacter.codePointAt(char[], int, int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于