UCharacter.GetIntPropertyMaxValue(Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
<strong>[icu]</strong> Renvoie la valeur maximale d’une propriété Unicode entière/binaire.
[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
Paramètres
- type
- Int32
Constante de sélecteur UProperty, identifie la propriété binaire à vérifier. Doit être UProperty.BINARY_START <= type < UProperty.BINARY_LIMIT ou UProperty.INT_START <= type < UProperty.INT_LIMIT.
Retours
Valeur maximale retournée par u_getIntPropertyValue pour une propriété Unicode. <= 0 si le sélecteur de propriété 'type' est hors plage.
- Attributs
Remarques
<strong>[icu]</strong> Renvoie la valeur maximale d’une propriété Unicode entière/binaire. Peut être utilisé avec UCharacter.getIntPropertyMinValue(int) pour allouer des tableaux d’android.icu.text.UnicodeSet ou similaires. Exemples de valeurs min/max (pour 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, les valeurs min/max seront 0/-1.
Java documentation pour android.icu.lang.UCharacter.getIntPropertyMaxValue(int).
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.