UnicodeGeneralCategory
UnicodeGeneralCategory
UnicodeGeneralCategory
UnicodeGeneralCategory
Enum
Definition
Defines the Unicode general category of a character.
public : enum class UnicodeGeneralCategorypublic enum UnicodeGeneralCategoryPublic Enum UnicodeGeneralCategory// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| ClosePunctuation ClosePunctuation ClosePunctuation ClosePunctuation | Closing character of one of the paired punctuation marks, such as parentheses, square brackets, and braces. Signified by the Unicode designation "Pe" (punctuation, close). |
| ConnectorPunctuation ConnectorPunctuation ConnectorPunctuation ConnectorPunctuation | Connector punctuation character that connects two characters. Signified by the Unicode designation "Pc" (punctuation, connector). |
| Control Control Control Control | Control code character, with a Unicode value of U+007F or in the range U+0000 through U+001F or U+0080 through U+009F. Signified by the Unicode designation "Cc" (other, control). |
| CurrencySymbol CurrencySymbol CurrencySymbol CurrencySymbol | Currency symbol character. Signified by the Unicode designation "Sc" (symbol, currency). |
| DashPunctuation DashPunctuation DashPunctuation DashPunctuation | Dash or hyphen character. Signified by the Unicode designation "Pd" (punctuation, dash). |
| DecimalDigitNumber DecimalDigitNumber DecimalDigitNumber DecimalDigitNumber | Decimal digit character, which is a character in the range 0 through 9. Signified by the Unicode designation "Nd" (number, decimal digit). |
| EnclosingMark EnclosingMark EnclosingMark EnclosingMark | Enclosing mark character, which is a nonspacing combining character that surrounds all previous characters up to and including a base character. Signified by the Unicode designation "Me" (mark, enclosing). |
| FinalQuotePunctuation FinalQuotePunctuation FinalQuotePunctuation FinalQuotePunctuation | Closing or final quotation mark character. Signified by the Unicode designation "Pf" (punctuation, final quote). |
| Format Format Format Format | Format character that affects the layout of text or the operation of text processes, but is not normally rendered. Signified by the Unicode designation "Cf" (other, format). |
| InitialQuotePunctuation InitialQuotePunctuation InitialQuotePunctuation InitialQuotePunctuation | Opening or initial quotation mark character. Signified by the Unicode designation "Pi" (punctuation, initial quote). |
| LetterNumber LetterNumber LetterNumber LetterNumber | Number represented by a letter, instead of a decimal digit. For example, the Roman numeral for five, which is "V". The indicator is signified by the Unicode designation "Nl" (number, letter). |
| LineSeparator LineSeparator LineSeparator LineSeparator | Character that is used to separate lines of text. Signified by the Unicode designation "Zl" (separator, line). |
| LowercaseLetter LowercaseLetter LowercaseLetter LowercaseLetter | Lowercase letter. Signified by the Unicode designation "Ll" (letter, lowercase). |
| MathSymbol MathSymbol MathSymbol MathSymbol | Mathematical symbol character, such as "+" or "=". Signified by the Unicode designation "Sm" (symbol, math). |
| ModifierLetter ModifierLetter ModifierLetter ModifierLetter | Modifier letter character, which is a free-standing spacing character that indicates modifications of a preceding letter. Signified by the Unicode designation "Lm" (letter, modifier). |
| ModifierSymbol ModifierSymbol ModifierSymbol ModifierSymbol | Modifier symbol character, which indicates modifications of surrounding characters. For example, the fraction slash indicates that the number to the left is the numerator and the number to the right is the denominator. The indicator is signified by the Unicode designation "Sk" (symbol, modifier). |
| NonspacingMark NonspacingMark NonspacingMark NonspacingMark | Nonspacing character that indicates modifications of a base character. Signified by the Unicode designation "Mn" (mark, nonspacing), |
| NotAssigned NotAssigned NotAssigned NotAssigned | Character that is not assigned to any Unicode category. Signified by the Unicode code designation "Cn" (other, not assigned). |
| OpenPunctuation OpenPunctuation OpenPunctuation OpenPunctuation | Opening character of one of the paired punctuation marks, such as parentheses, square brackets, and braces. Signified by the Unicode designation "Ps" (punctuation, open). |
| OtherLetter OtherLetter OtherLetter OtherLetter | Letter that is not an uppercase letter, a lowercase letter, a titlecase letter, or a modifier letter. Signified by the Unicode designation "Lo" (letter, other). |
| OtherNumber OtherNumber OtherNumber OtherNumber | Number that is neither a decimal digit nor a letter number. For example, the fraction 1/2. The indicator is signified by the Unicode designation "No" (number, other). |
| OtherPunctuation OtherPunctuation OtherPunctuation OtherPunctuation | Punctuation character that is not a connector, a dash, open punctuation, close punctuation, an initial quote, or a final quote. Signified by the Unicode designation "Po" (punctuation, other). |
| OtherSymbol OtherSymbol OtherSymbol OtherSymbol | Symbol character that is not a mathematical symbol, a currency symbol or a modifier symbol. Signified by the Unicode designation "So" (symbol, other). |
| ParagraphSeparator ParagraphSeparator ParagraphSeparator ParagraphSeparator | Character that is used to separate paragraphs. Signified by the Unicode designation "Zp" (separator, paragraph). |
| PrivateUse PrivateUse PrivateUse PrivateUse | Private-use character, with a Unicode value in the range U+E000 through U+F8FF. Signified by the Unicode designation "Co" (other, private use). |
| SpaceSeparator SpaceSeparator SpaceSeparator SpaceSeparator | Space character, which has no glyph but is not a control or format character. Signified by the Unicode designation "Zs" (separator, space). |
| SpacingCombiningMark SpacingCombiningMark SpacingCombiningMark SpacingCombiningMark | Spacing character that indicates modifications of a base character and affects the width of the glyph for that base character. Signified by the Unicode designation "Mc" (mark, spacing combining). |
| Surrogate Surrogate Surrogate Surrogate | High surrogate or low surrogate character. Surrogate code values are in the range U+D800 through U+DFFF. Signified by the Unicode designation "Cs" (other, surrogate). |
| TitlecaseLetter TitlecaseLetter TitlecaseLetter TitlecaseLetter | Titlecase letter. Signified by the Unicode designation "Lt" (letter, titlecase). |
| UppercaseLetter UppercaseLetter UppercaseLetter UppercaseLetter | Uppercase letter. Signified by the Unicode designation "Lu" (letter, uppercase). |
Remarks
A member of this enumeration is returned by GetGeneralCategory. A Unicode general category defines the broad classification of a character— that is, designation as a type of letter, decimal digit, separator, mathematical symbol, punctuation, and so on. See the Unicode Standard Annex #44.
The values of this enumeration are compatible with the Microsoft .NET System.Globalization.UnicodeGeneralCategory enumeration.