UCharacter.GetPropertyEnum Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetPropertyEnum(ICharSequence) |
<strong>[icu]</strong> Return the UProperty selector for a given property name, as specified in the Unicode database file PropertyAliases. |
GetPropertyEnum(String) |
<strong>[icu]</strong> Return the UProperty selector for a given property name, as specified in the Unicode database file PropertyAliases. |
GetPropertyEnum(ICharSequence)
<strong>[icu]</strong> Return the UProperty selector for a given property name, as specified in the Unicode database file PropertyAliases.
[Android.Runtime.Register("getPropertyEnum", "(Ljava/lang/CharSequence;)I", "", ApiSince=24)]
public static int GetPropertyEnum (Java.Lang.ICharSequence? propertyAlias);
[<Android.Runtime.Register("getPropertyEnum", "(Ljava/lang/CharSequence;)I", "", ApiSince=24)>]
static member GetPropertyEnum : Java.Lang.ICharSequence -> int
Parameters
- propertyAlias
- ICharSequence
the property name to be matched. The name is compared using "loose matching" as described in PropertyAliases.txt.
Returns
a UProperty enum.
- Attributes
Remarks
<strong>[icu]</strong> Return the UProperty selector for a given property name, as specified in the Unicode database file PropertyAliases.txt. Short, long, and any other variants are recognized.
In addition, this function maps the synthetic names "gcm" / "General_Category_Mask" to the property UProperty.GENERAL_CATEGORY_MASK. These names are not in PropertyAliases.txt.
Java documentation for android.icu.lang.UCharacter.getPropertyEnum(java.lang.CharSequence)
.
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
GetPropertyEnum(String)
<strong>[icu]</strong> Return the UProperty selector for a given property name, as specified in the Unicode database file PropertyAliases.
public static int GetPropertyEnum (string? propertyAlias);
static member GetPropertyEnum : string -> int
Parameters
- propertyAlias
- String
the property name to be matched. The name is compared using "loose matching" as described in PropertyAliases.txt.
Returns
a UProperty enum.
Remarks
<strong>[icu]</strong> Return the UProperty selector for a given property name, as specified in the Unicode database file PropertyAliases.txt. Short, long, and any other variants are recognized.
In addition, this function maps the synthetic names "gcm" / "General_Category_Mask" to the property UProperty.GENERAL_CATEGORY_MASK. These names are not in PropertyAliases.txt.
Java documentation for android.icu.lang.UCharacter.getPropertyEnum(java.lang.CharSequence)
.
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.