UCharacter.GetIdentifierTypes(Int32, EnumSet) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將代碼點 c 的 Identifier_Type 寫成一組 IdentifierType 值,並回傳類型數量。
[Android.Runtime.Register("getIdentifierTypes", "(ILjava/util/EnumSet;)I", "", ApiSince=37)]
public static int GetIdentifierTypes(int c, Java.Util.EnumSet? types);
[<Android.Runtime.Register("getIdentifierTypes", "(ILjava/util/EnumSet;)I", "", ApiSince=37)>]
static member GetIdentifierTypes : int * Java.Util.EnumSet -> int
參數
- c
- Int32
字碼指標
- types
- EnumSet
輸出集
傳回
C的數值Identifier_Type
- 屬性
備註
將代碼點 c 的 Identifier_Type 寫成一組 IdentifierType 值,並回傳類型數量。 集合在加入 c 類型之前會被清除。
用於 UTS #39 通用安全規範(https://www.unicode.org/reports/tr39/General_Security_Profile).
每個碼點對應一組 IdentifierType 值。 總有至少一種。 只有部分類型能與其他類型結合,且通常只有少數類型會同時出現。 未來版本可能會新增更多類型。 詳情請參閱 UTS #39 及其資料檔案。
Android 參考資料。android.icu.lang.UCharacter.getIdentifierTypes
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。