UCharacter.GetCodePoint 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| GetCodePoint(Char) |
[icu] 返回与 BMP 代码点对应的代码点。 |
| GetCodePoint(Char, Char) |
[icu] 返回对应于两个代理项代码单元的代码点。 |
| GetCodePoint(Int32, Int32) |
[icu] 返回对应于两个代理项代码单元的代码点。 |
GetCodePoint(Char)
[icu] 返回与 BMP 代码点对应的代码点。
[Android.Runtime.Register("getCodePoint", "(C)I", "", ApiSince=24)]
public static int GetCodePoint(char char16);
[<Android.Runtime.Register("getCodePoint", "(C)I", "", ApiSince=24)>]
static member GetCodePoint : char -> int
参数
- char16
- Char
BMP 代码点
返回
如果参数是有效的字符,则为代码点。
- 特性
注解
[icu] 返回与 BMP 代码点对应的代码点。
Java文档android.icu.lang.UCharacter.getCodePoint(char)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
GetCodePoint(Char, Char)
[icu] 返回对应于两个代理项代码单元的代码点。
[Android.Runtime.Register("getCodePoint", "(CC)I", "", ApiSince=24)]
public static int GetCodePoint(char lead, char trail);
[<Android.Runtime.Register("getCodePoint", "(CC)I", "", ApiSince=24)>]
static member GetCodePoint : char * char -> int
参数
- lead
- Char
前导字符
- trail
- Char
尾部字符
返回
如果代理项字符有效,则为代码点。
- 特性
注解
[icu] 返回对应于两个代理项代码单元的代码点。
Java文档android.icu.lang.UCharacter.getCodePoint(char, char)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
GetCodePoint(Int32, Int32)
[icu] 返回对应于两个代理项代码单元的代码点。
[Android.Runtime.Register("getCodePoint", "(II)I", "", ApiSince=33)]
public static int GetCodePoint(int lead, int trail);
[<Android.Runtime.Register("getCodePoint", "(II)I", "", ApiSince=33)>]
static member GetCodePoint : int * int -> int
参数
- lead
- Int32
前导单元 (在 ICU 2.1-69 中,两个参数的类型都是 char。)
- trail
- Int32
尾部单位
返回
如果潜在顾客和线索形成有效的代理项对,则为代码点。
- 特性
注解
[icu] 返回对应于两个代理项代码单元的代码点。
Java文档android.icu.lang.UCharacter.getCodePoint(int, int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。