UCharacter.GetIdentifierTypes(Int32, EnumSet) 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.
Writes code point c's Identifier_Type as a set of IdentifierType values and returns the number of types.
[Android.Runtime.Register("getIdentifierTypes", "(ILjava/util/EnumSet;)I", "", ApiSince=37)]
public static int GetIdentifierTypes(int c, Java.Util.EnumSet? types);
[<Android.Runtime.Register("getIdentifierTypes", "(ILjava/util/EnumSet;)I", "", ApiSince=37)>]
static member GetIdentifierTypes : int * Java.Util.EnumSet -> int
Parameters
- c
- Int32
code point
- types
- EnumSet
output set
Returns
number of values in c's Identifier_Type
- Attributes
Remarks
Writes code point c's Identifier_Type as a set of IdentifierType values and returns the number of types. The set is cleared before c's types are added.
Used for UTS #39 General Security Profile for Identifiers (https://www.unicode.org/reports/tr39/General_Security_Profile).
Each code point maps to a set of IdentifierType values. There is always at least one type. Only some of the types can be combined with others, and usually only a small number of types occur together. Future versions might add additional types. See UTS #39 and its data files for details.
Android reference for android.icu.lang.UCharacter.getIdentifierTypes.
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.