Character.IsUnicodeIdentifierPart 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| IsUnicodeIdentifierPart(Int32) |
判斷指定的字元 (Unicode 字碼點) 是否可能是 Unicode 識別子的一部分,而不是第一個字元。 |
| IsUnicodeIdentifierPart(Char) |
判斷指定的字元是否可能是 Unicode 識別子的一部分,而不是第一個字元。 |
IsUnicodeIdentifierPart(Int32)
判斷指定的字元 (Unicode 字碼點) 是否可能是 Unicode 識別子的一部分,而不是第一個字元。
[Android.Runtime.Register("isUnicodeIdentifierPart", "(I)Z", "")]
public static bool IsUnicodeIdentifierPart(int codePoint);
[<Android.Runtime.Register("isUnicodeIdentifierPart", "(I)Z", "")>]
static member IsUnicodeIdentifierPart : int -> bool
參數
- codePoint
- Int32
要測試的字元 (Unicode 字碼點)。
傳回
true 如果字元可能是 Unicode 識別子的一部分,則為 ; false 否則。
- 屬性
備註
判斷指定的字元 (Unicode 字碼點) 是否可能是 Unicode 識別子的一部分,而不是第一個字元。
只有當下列其中一個語句為 true 時,字元可能是 Unicode 識別符的一部分:ul>li 它是一個字母 <li>,它是連接標點符號字元 (例如<'_') li> <>它是數位 li 它是數位 li 它是數位字母 (例如羅馬數位字元) <li 它是一個結合標記 <> li> 它是一個非間距標記 <li>isIdentifierIgnorable 會傳回true給這個字元。><< <李> 是個 Other_ID_Starthttp://www.unicode.org/reports/tr44/#Other_ID_Start 人物。 <李> 是個 Other_ID_Continuehttp://www.unicode.org/reports/tr44/#Other_ID_Continue 人物。 </Ul>
此方法符合 UAX31-R1:Unicode 標準的預設標識符 需求,且具有下列 UAX31 配置檔:
Continue := Start + ID_Continue + ignorable
Medial := empty
ignorable := isIdentifierIgnorable(int) returns true for the character
ignorable 會新增至 以 Continue 取得回溯相容性。
已在1.5中新增。
的 java.lang.Character.isUnicodeIdentifierPart(int)Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
IsUnicodeIdentifierPart(Char)
判斷指定的字元是否可能是 Unicode 識別子的一部分,而不是第一個字元。
[Android.Runtime.Register("isUnicodeIdentifierPart", "(C)Z", "")]
public static bool IsUnicodeIdentifierPart(char ch);
[<Android.Runtime.Register("isUnicodeIdentifierPart", "(C)Z", "")>]
static member IsUnicodeIdentifierPart : char -> bool
參數
- ch
- Char
要測試的字元。
傳回
true 如果字元可能是 Unicode 識別子的一部分,則為 ; false 否則。
- 屬性
備註
判斷指定的字元是否可能是 Unicode 識別子的一部分,而不是第一個字元。
只有當下列其中一個語句為 true 時,字元可能是 Unicode 識別符的一部分:ul>li 它是一個字母 <li>,它是連接標點符號字元 (例如<'_') li> <>它是數位 li 它是數位 li 它是數位字母 (例如羅馬數位字元) <li 它是一個結合標記 <> li> 它是一個非間距標記 <li>isIdentifierIgnorable 會傳回true給這個字元。><< <李> 是個 Other_ID_Starthttp://www.unicode.org/reports/tr44/#Other_ID_Start 人物。 <李> 是個 Other_ID_Continuehttp://www.unicode.org/reports/tr44/#Other_ID_Continue 人物。 </Ul>
此方法符合 UAX31-R1:Unicode 標準的預設標識符 需求,且具有下列 UAX31 配置檔:
Continue := Start + ID_Continue + ignorable
Medial := empty
ignorable := isIdentifierIgnorable(char) returns true for the character
ignorable 會新增至 以 Continue 取得回溯相容性。
<b>注意:</b> 此方法無法處理增補字元。 若要支援所有 Unicode 字元,包括增補字元,請使用 #isUnicodeIdentifierPart(int) 方法。
已在1.1中新增。
的 java.lang.Character.isUnicodeIdentifierPart(char)Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。