UCharacter.CodePointBefore 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| CodePointBefore(String, Int32) |
与 |
| CodePointBefore(Char[], Int32, Int32) |
与 |
| CodePointBefore(ICharSequence, Int32) |
与 |
| CodePointBefore(Char[], Int32) |
与 |
CodePointBefore(String, Int32)
与 Character#codePointBefore(CharSequence, int) 相同。
public static int CodePointBefore(string? seq, int index);
static member CodePointBefore : string * int -> int
参数
- seq
- String
要检查的字符
- index
- Int32
最后一个或仅构成代码点的字符之后的索引
返回
索引前的代码点
注解
与 Character#codePointBefore(CharSequence, int) 相同。 返回索引前的代码点。 这仅检查 index-1 和 index-2 中的字符。
Java文档android.icu.lang.UCharacter.codePointBefore(java.lang.CharSequence, int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
CodePointBefore(Char[], Int32, Int32)
与 Character#codePointBefore(char[], int, int) 相同。
[Android.Runtime.Register("codePointBefore", "([CII)I", "", ApiSince=24)]
public static int CodePointBefore(char[]? text, int index, int limit);
[<Android.Runtime.Register("codePointBefore", "([CII)I", "", ApiSince=24)>]
static member CodePointBefore : char[] * int * int -> int
参数
- text
- Char[]
要检查的字符
- index
- Int32
最后一个或仅构成代码点的字符之后的索引
- limit
- Int32
有效文本的开头
返回
索引前的代码点
- 特性
注解
与 Character#codePointBefore(char[], int, int) 相同。 返回索引前的代码点。 这仅检查 index-1 和 index-2 中的字符。
Java文档android.icu.lang.UCharacter.codePointBefore(char[], int, int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
CodePointBefore(ICharSequence, Int32)
与 Character#codePointBefore(CharSequence, int) 相同。
[Android.Runtime.Register("codePointBefore", "(Ljava/lang/CharSequence;I)I", "", ApiSince=24)]
public static int CodePointBefore(Java.Lang.ICharSequence? seq, int index);
[<Android.Runtime.Register("codePointBefore", "(Ljava/lang/CharSequence;I)I", "", ApiSince=24)>]
static member CodePointBefore : Java.Lang.ICharSequence * int -> int
参数
- seq
- ICharSequence
要检查的字符
- index
- Int32
最后一个或仅构成代码点的字符之后的索引
返回
索引前的代码点
- 特性
注解
与 Character#codePointBefore(CharSequence, int) 相同。 返回索引前的代码点。 这仅检查 index-1 和 index-2 中的字符。
Java文档android.icu.lang.UCharacter.codePointBefore(java.lang.CharSequence, int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
CodePointBefore(Char[], Int32)
与 Character#codePointBefore(char[], int) 相同。
[Android.Runtime.Register("codePointBefore", "([CI)I", "", ApiSince=24)]
public static int CodePointBefore(char[]? text, int index);
[<Android.Runtime.Register("codePointBefore", "([CI)I", "", ApiSince=24)>]
static member CodePointBefore : char[] * int -> int
参数
- text
- Char[]
要检查的字符
- index
- Int32
最后一个或仅构成代码点的字符之后的索引
返回
索引前的代码点
- 特性
注解
与 Character#codePointBefore(char[], int) 相同。 返回索引前的代码点。 这仅检查 index-1 和 index-2 中的字符。
Java文档android.icu.lang.UCharacter.codePointBefore(char[], int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。