UCharacter.GetIntPropertyMaxValue(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
[加護病房] 回傳整數/二進位 Unicode 屬性的最大值。
[Android.Runtime.Register("getIntPropertyMaxValue", "(I)I", "", ApiSince=24)]
public static int GetIntPropertyMaxValue(int type);
[<Android.Runtime.Register("getIntPropertyMaxValue", "(I)I", "", ApiSince=24)>]
static member GetIntPropertyMaxValue : int -> int
參數
- type
- Int32
UProperty 選擇器常數,用來識別要檢查哪個二進位屬性。 必須是 UProperty.BINARY_START <= 類型 < UProperty.BINARY_LIMIT 或 UProperty.INT_START <= 類型 < UProperty.INT_LIMIT。
傳回
u_getIntPropertyValue 對 Unicode 屬性回傳的最大值。 <= 0,若屬性選擇器「type」超出範圍。
- 屬性
備註
[加護病房] 回傳整數/二進位 Unicode 屬性的最大值。 可與 UCharacter.getIntEntityMinValue(int) 一起使用,以配置 android.icu.text.UnicodeSet 或類似的陣列。 最小值/最大值範例(Unicode 3.2):ul<li UProperty.BIDI_CLASS: 0/18 (UCharacterDirection.LEFT_TO_RIGHT/UCharacterDirection.BOUNDARY_NEUTRAL) >li< UProperty.SCRIPT: 0/45 (UScript.COMMON/UScript.TAGBANWA) >li< UProperty.ideographic: 0/1(false/true) >/ul< 對於未定義的 UProperty 常數值,最小值為 0/-1。><>
Java 文件 android.icu.lang.UCharacter.getIntPropertyMaxValue(int)。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。