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

  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. // The enumeration constants used in CultureInfo.GetCultures().
  17. //
  18. namespace System.Globalization
  19. {
  20.    
  21.    
  22.     [Flags(), Serializable()]
  23.     [System.Runtime.InteropServices.ComVisible(true)]
  24.     public enum CultureTypes
  25.     {
  26.         NeutralCultures = 1,
  27.         // Neutral cultures are cultures like "en", "de", "zh", etc.
  28.         SpecificCultures = 2,
  29.         // Non-netural cultuers. Examples are "en-us", "zh-tw", etc.
  30.         InstalledWin32Cultures = 4,
  31.         // Win32 installed cultures in the system and exists in the framework too.
  32.         AllCultures = NeutralCultures | SpecificCultures | InstalledWin32Cultures,
  33.        
  34.         UserCustomCulture = 8,
  35.         // User defined custom culture
  36.         ReplacementCultures = 16,
  37.         // User defined replacement custom culture.
  38.         WindowsOnlyCultures = 32,
  39.         // Culture exist in Win32 but not in the Framework.
  40.         FrameworkCultures = 64
  41.         // the language tag match a culture that ships with the .NET framework
  42.     }
  43.    
  44. }

Developer Fusion