語言

Character.LowSurrogate(Int32) 方法

定義

回傳 的後尾代理( 低代碼單元) 替代字元對代表 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 編碼字元的尾隨代理碼單元

屬性

備註

回傳代表 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 屬性授權中所述的詞彙使用。

適用於