語言

UCharacter.GetIntPropertyMaxValue(Int32) 方法

定義

<strong>[icu]</strong> 回傳整數/二進位 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 <= 類型

傳回

u_getIntPropertyValue 對 Unicode 屬性回傳的最大值。 <= 0 若屬性選擇器「類型」超出範圍。

屬性

備註

<strong>[icu]</strong> 回傳整數/二進位 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。><<

的 android.icu.lang.UCharacter.getIntPropertyMaxValue(int)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於