次の方法で共有


UCharacter.GetIntPropertyMaxValue(Int32) Method

Definition

<strong>[icu]</strong> Returns the maximum value for an integer/binary Unicode property.

[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

Parameters

type
Int32

UProperty selector constant, identifies which binary property to check. Must be UProperty.BINARY_START &lt;= type &lt; UProperty.BINARY_LIMIT or UProperty.INT_START &lt;= type &lt; UProperty.INT_LIMIT.

Returns

Maximum value returned by u_getIntPropertyValue for a Unicode property. &lt;= 0 if the property selector 'type' is out of range.

Attributes

Remarks

<strong>[icu]</strong> Returns the maximum value for an integer/binary Unicode property. Can be used together with UCharacter.getIntPropertyMinValue(int) to allocate arrays of android.icu.text.UnicodeSet or similar. Examples for min/max values (for 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> For undefined UProperty constant values, min/max values will be 0/-1.

Java documentation for android.icu.lang.UCharacter.getIntPropertyMaxValue(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to