Mono Class Library: System.Globalization Namespace

System.Globalization.UnicodeCategory Enumeration

Designates the general Unicode category of a char .
[System.Runtime.InteropServices.ComVisible(true)]
public enum UnicodeCategory

Remarks

These categories conform to Version 3.1 of the Unicode Standard.

Note: For information on mapping specific Unicode characters to categories, see the UnicodeData.txt file in the Unicode Character Database at http://www.unicode.org/Public/UNIDATA/UnicodeCharacterDatabase.html. The UnicodeData.txt file format is described at http://www.unicode.org/Public/3.1-Update/UnicodeData-3.1.0.html.

This enumeration is used to support char methods such as char.IsLetter(char), char.IsUpper(char) , etc.

Members

Member NameDescription
ClosePunctuationDesignates a Unicode 'Pe' (punctuation, close).
ConnectorPunctuationDesignates a Unicode 'Pc' (punctuation, connector).
ControlDesignates a Unicode 'Cc' (other, control).
CurrencySymbolDesignates a Unicode 'Sc' (symbol, currency).
DashPunctuationDesignates a Unicode 'Pd' (punctuation, dash).
DecimalDigitNumberDesignates a Unicode 'Nd' (number, decimal digit).
EnclosingMarkDesignates a Unicode 'Me' (mark, enclosing).
FinalQuotePunctuationDesignates a Unicode 'Pf' (punctuation, final quote).
FormatDesignates a Unicode 'Cf' (other, format).
InitialQuotePunctuationDesignates a Unicode 'Pi' (punctuation, initial quote).
LetterNumberDesignates a Unicode 'Nl' (number, letter).
LineSeparatorDesignates a Unicode 'Zl' (separator, line).
LowercaseLetterDesignates a Unicode 'Ll' (letter, lowercase).
MathSymbolDesignates a Unicode 'Sm' (symbol, math).
ModifierLetterDesignates a Unicode 'Lm' (letter, modifier).
ModifierSymbolDesignates a Unicode 'Sk' (symbol, modifier).
NonSpacingMarkDesignates a Unicode 'Mn' (mark, non-spacing).
OpenPunctuationDesignates a Unicode 'Ps' (punctuation, open).
OtherLetterDesignates a Unicode 'Lo' (letter, other: not an uppercase letter, a lowercase letter, a titlecase letter, or a modifier letter).
OtherNotAssignedDesignates a Unicode 'Cn' (other, not assigned).
OtherNumberDesignates a Unicode 'No' (number, other: not a decimal digit number or a letter number).
OtherPunctuationDesignates a Unicode 'Po' (punctuation, other: not connector, dash, open, close, initial quote, or final quote punctuation).
OtherSymbolDesignates a Unicode 'So' (symbol, other: not a math, currency, or modifier symbol).
ParagraphSeparatorDesignates a Unicode 'Zp' (separator, paragraph).
PrivateUseDesignates a Unicode 'Co' (other, private use).
SpaceSeparatorDesignates a Unicode 'Zs' (separator, space).
SpacingCombiningMarkDesignates a Unicode 'Mc' (mark, spacing combining).
SurrogateDesignates a Unicode 'Cs' (other, surrogate).
TitlecaseLetterDesignates a Unicode 'Lt' (letter, titlecase).
UppercaseLetterDesignates a Unicode 'Lu' (letter, uppercase).

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0