UnicodeGeneralCategory Enum
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.
Specifies the Unicode general category of a character.
public enum UnicodeGeneralCategory
- Inheritance
-
UnicodeGeneralCategory
Fields
| Name | Value | Description |
|---|---|---|
| Control | 0 | Control character (Cc). |
| Format | 1 | Format character (Cf). |
| Unassigned | 2 | Unassigned code point (Cn). |
| PrivateUse | 3 | Private-use character (Co). |
| Surrogate | 4 | Surrogate code point (Cs). |
| LowercaseLetter | 5 | Lowercase letter (Ll). |
| ModifierLetter | 6 | Modifier letter (Lm). |
| OtherLetter | 7 | Other letter (Lo). |
| TitlecaseLetter | 8 | Titlecase letter (Lt). |
| UppercaseLetter | 9 | Uppercase letter (Lu). |
| SpacingMark | 10 | Spacing combining mark (Mc). |
| EnclosingMark | 11 | Enclosing mark (Me). |
| NonSpacingMark | 12 | Non-spacing mark (Mn). |
| DecimalNumber | 13 | Decimal digit number (Nd). |
| LetterNumber | 14 | Letter number (Nl). |
| OtherNumber | 15 | Other number (No). |
| ConnectPunctuation | 16 | Connector punctuation (Pc). |
| DashPunctuation | 17 | Dash punctuation (Pd). |
| ClosePunctuation | 18 | Close punctuation (Pe). |
| FinalPunctuation | 19 | Final punctuation (Pf). |
| InitialPunctuation | 20 | Initial punctuation (Pi). |
| OtherPunctuation | 21 | Other punctuation (Po). |
| OpenPunctuation | 22 | Open punctuation (Ps). |
| CurrencySymbol | 23 | Currency symbol (Sc). |
| ModifierSymbol | 24 | Modifier symbol (Sk). |
| MathSymbol | 25 | Math symbol (Sm). |
| OtherSymbol | 26 | Other symbol (So). |
| LineSeparator | 27 | Line separator (Zl). |
| ParagraphSeparator | 28 | Paragraph separator (Zp). |
| SpaceSeparator | 29 | Space separator (Zs). |