Character.IsUnicodeIdentifierStart 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| IsUnicodeIdentifierStart(Char) |
判斷指定的字元是否允許作為 Unicode 識別碼的第一個字元。 |
| IsUnicodeIdentifierStart(Int32) |
判斷指定的字元(Unicode 代碼點)是否允許作為 Unicode 識別碼的第一個字元。 |
IsUnicodeIdentifierStart(Char)
判斷指定的字元是否允許作為 Unicode 識別碼的第一個字元。
[Android.Runtime.Register("isUnicodeIdentifierStart", "(C)Z", "")]
public static bool IsUnicodeIdentifierStart(char ch);
[<Android.Runtime.Register("isUnicodeIdentifierStart", "(C)Z", "")>]
static member IsUnicodeIdentifierStart : char -> bool
參數
- ch
- Char
那個要被考驗的角色。
傳回
true 字元是否能開始 Unicode 識別碼; false 否則,
- 屬性
備註
判斷指定的字元是否允許作為 Unicode 識別碼的第一個字元。
字元可啟動 Unicode 識別碼,當且僅當以下條件之一成立:<ul<>li#isLetter(char) isLetter(ch)> 返回 LETTER_NUMBERtrue<>#getType(char) getType(ch) li 返回 。
<李> ,這只是個 Other_ID_Starthttp://www.unicode.org/reports/tr44/#Other_ID_Start 角色。
</ul>
此方法符合 Unicode 標準的 UAX31-R1:預設識別碼 要求,並具備以下 UAX31 的規範:
Start := ID_Start + 'VERTICAL TILDE' (U+2E2F)
'VERTICAL TILDE' 是為了向下相容而加入 Start 的。
<b>註:</b> 此方法無法處理補充字元。 若要支援所有 Unicode 字元,包括補充字元,請使用此 #isUnicodeIdentifierStart(int) 方法。
在 1.1 版本中加入。
的 java.lang.Character.isUnicodeIdentifierStart(char)Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
IsUnicodeIdentifierStart(Int32)
判斷指定的字元(Unicode 代碼點)是否允許作為 Unicode 識別碼的第一個字元。
[Android.Runtime.Register("isUnicodeIdentifierStart", "(I)Z", "")]
public static bool IsUnicodeIdentifierStart(int codePoint);
[<Android.Runtime.Register("isUnicodeIdentifierStart", "(I)Z", "")>]
static member IsUnicodeIdentifierStart : int -> bool
參數
- codePoint
- Int32
要測試的字元(Unicode 代碼點)。
傳回
true 字元是否能開始 Unicode 識別碼; false 否則,
- 屬性
備註
判斷指定的字元(Unicode 代碼點)是否允許作為 Unicode 識別碼的第一個字元。
字元可啟動 Unicode 識別碼,當且僅當以下條件之一成立:<ul<>li#isLetter(int) isLetter(codePoint)> 返回 LETTER_NUMBERtrue<>#getType(int) getType(codePoint) li 返回 。
<李> ,這只是個 Other_ID_Starthttp://www.unicode.org/reports/tr44/#Other_ID_Start 角色。
</ul>
此方法符合 Unicode 標準的 UAX31-R1:預設識別碼 要求,並具備以下 UAX31 的規範:
Start := ID_Start + 'VERTICAL TILDE' (U+2E2F)
'VERTICAL TILDE' 是為了向下相容而加入 Start 的。
已在1.5中新增。
的 java.lang.Character.isUnicodeIdentifierStart(int)Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。