共用方式為


Character.LowSurrogate(Int32) 方法

定義

傳回 的尾端 Surrogate ( 低代理程式代碼單位 Surrogate 字組 ,代表 UTF-16 編碼中的指定增補字元 (Unicode 字碼點)。

[Android.Runtime.Register("lowSurrogate", "(I)C", "")]
public static char LowSurrogate (int codePoint);
[<Android.Runtime.Register("lowSurrogate", "(I)C", "")>]
static member LowSurrogate : int -> char

參數

codePoint
Int32

補充字元 (Unicode 字碼點)

傳回

用來代表UTF-16編碼字元的尾端代理程式代碼單位

屬性

備註

會傳回 Surrogate 字組的尾端 Surrogate (低 Surrogate 代碼單位),代表 UTF-16 編碼中指定增補字元 (Unicode 字碼點)。 如果指定的字元不是補充字元,則會傳回未指定的 char 字元。

如果 #isSupplementaryCodePoint isSupplementaryCodePoint(x)true,則 #isLowSurrogate isLowSurrogate(lowSurrogate(x))#toCodePoint toCodePoint#highSurrogate highSurrogate(x), lowSurrogate(x)) == x(一律true為 。

已在1.7中新增。

java.lang.Character.lowSurrogate(int)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於