The Labs \ Source Viewer \ SSCLI \ System.Globalization \ UnicodeCategory

  1. // ==++==
  2. //
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. //
  14. // ==--==
  15. /*============================================================
  16. **
  17. ** Class: UnicodeCategory
  18. **
  19. **
  20. ** Purpose:
  21. **
  22. **
  23. ============================================================*/
  24. namespace System.Globalization
  25. {
  26.    
  27.     [Serializable()]
  28.     [System.Runtime.InteropServices.ComVisible(true)]
  29.     public enum UnicodeCategory
  30.     {
  31.        
  32.         UppercaseLetter = 0,
  33.        
  34.         LowercaseLetter = 1,
  35.        
  36.         TitlecaseLetter = 2,
  37.        
  38.         ModifierLetter = 3,
  39.        
  40.         OtherLetter = 4,
  41.        
  42.         NonSpacingMark = 5,
  43.        
  44.         SpacingCombiningMark = 6,
  45.        
  46.         EnclosingMark = 7,
  47.        
  48.         DecimalDigitNumber = 8,
  49.        
  50.         LetterNumber = 9,
  51.        
  52.         OtherNumber = 10,
  53.        
  54.         SpaceSeparator = 11,
  55.        
  56.         LineSeparator = 12,
  57.        
  58.         ParagraphSeparator = 13,
  59.        
  60.         Control = 14,
  61.        
  62.         Format = 15,
  63.        
  64.         Surrogate = 16,
  65.        
  66.         PrivateUse = 17,
  67.        
  68.         ConnectorPunctuation = 18,
  69.        
  70.         DashPunctuation = 19,
  71.        
  72.         OpenPunctuation = 20,
  73.        
  74.         ClosePunctuation = 21,
  75.        
  76.         InitialQuotePunctuation = 22,
  77.        
  78.         FinalQuotePunctuation = 23,
  79.        
  80.         OtherPunctuation = 24,
  81.        
  82.         MathSymbol = 25,
  83.        
  84.         CurrencySymbol = 26,
  85.        
  86.         ModifierSymbol = 27,
  87.        
  88.         OtherSymbol = 28,
  89.        
  90.         OtherNotAssigned = 29
  91.     }
  92. }

Developer Fusion