Lingua

UCharacter.GetPropertyValueEnum Metodo

Definizione

Overload

Nome Descrizione
GetPropertyValueEnum(Int32, ICharSequence)

<strong>[icu]</strong> Restituisce l'intero del valore della proprietà per un determinato nome di valore, come specificato nel file di database Unicode PropertyValueAliases.

GetPropertyValueEnum(Int32, String)

<strong>[icu]</strong> Restituisce l'intero del valore della proprietà per un determinato nome di valore, come specificato nel file di database Unicode PropertyValueAliases.

GetPropertyValueEnum(Int32, ICharSequence)

<strong>[icu]</strong> Restituisce l'intero del valore della proprietà per un determinato nome di valore, come specificato nel file di database Unicode PropertyValueAliases.

[Android.Runtime.Register("getPropertyValueEnum", "(ILjava/lang/CharSequence;)I", "", ApiSince=24)]
public static int GetPropertyValueEnum(int property, Java.Lang.ICharSequence? valueAlias);
[<Android.Runtime.Register("getPropertyValueEnum", "(ILjava/lang/CharSequence;)I", "", ApiSince=24)>]
static member GetPropertyValueEnum : int * Java.Lang.ICharSequence -> int

Parametri

property
Int32

Costante del selettore UProperty. UProperty.INT_START proprietà <= < UProperty.INT_LIMIT o UProperty.BINARY_START proprietà <= < UProperty.BINARY_LIMIT o UProperty.MASK_START < = proprietà < UProperty.MASK_LIMIT. È possibile enumerare solo queste proprietà.

valueAlias
ICharSequence

nome del valore di cui trovare la corrispondenza. Il nome viene confrontato usando "corrispondenza debole" come descritto in PropertyValueAliases.txt.

Valori restituiti

un valore intero. Nota: UProperty.GENERAL_CATEGORY valori sono valori mask prodotti da 1 a sinistra da UCharacter.getType(). In questo modo è possibile rappresentare categorie raggruppate, ad esempio [:L:].

Attributi

Commenti

<strong>[icu]</strong> Restituisce l'intero del valore della proprietà per un determinato nome di valore, come specificato nel file di database Unicode PropertyValueAliases.txt. Vengono riconosciute le varianti short, long e any other variant.

Nota: alcuni nomi in PropertyValueAliases.txt verranno riconosciuti solo con UProperty.GENERAL_CATEGORY_MASK, non UProperty.GENERAL_CATEGORY. Tra cui: "C" / "Other", "L" / "Letter", "LC" / "Cased_Letter", "M" / "Mark", "N" / "Number", "P" / "Punctuation", "S" / "Symbol" e "Z" / "Separator".

per android.icu.lang.UCharacter.getPropertyValueEnum(int, java.lang.CharSequence).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

GetPropertyValueEnum(Int32, String)

<strong>[icu]</strong> Restituisce l'intero del valore della proprietà per un determinato nome di valore, come specificato nel file di database Unicode PropertyValueAliases.

public static int GetPropertyValueEnum(int property, string? valueAlias);
static member GetPropertyValueEnum : int * string -> int

Parametri

property
Int32

Costante del selettore UProperty. UProperty.INT_START proprietà <= < UProperty.INT_LIMIT o UProperty.BINARY_START proprietà <= < UProperty.BINARY_LIMIT o UProperty.MASK_START < = proprietà < UProperty.MASK_LIMIT. È possibile enumerare solo queste proprietà.

valueAlias
String

nome del valore di cui trovare la corrispondenza. Il nome viene confrontato usando "corrispondenza debole" come descritto in PropertyValueAliases.txt.

Valori restituiti

un valore intero. Nota: UProperty.GENERAL_CATEGORY valori sono valori mask prodotti da 1 a sinistra da UCharacter.getType(). In questo modo è possibile rappresentare categorie raggruppate, ad esempio [:L:].

Commenti

<strong>[icu]</strong> Restituisce l'intero del valore della proprietà per un determinato nome di valore, come specificato nel file di database Unicode PropertyValueAliases.txt. Vengono riconosciute le varianti short, long e any other variant.

Nota: alcuni nomi in PropertyValueAliases.txt verranno riconosciuti solo con UProperty.GENERAL_CATEGORY_MASK, non UProperty.GENERAL_CATEGORY. Tra cui: "C" / "Other", "L" / "Letter", "LC" / "Cased_Letter", "M" / "Mark", "N" / "Number", "P" / "Punctuation", "S" / "Symbol" e "Z" / "Separator".

per android.icu.lang.UCharacter.getPropertyValueEnum(int, java.lang.CharSequence).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a