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

  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 NumberFormatInfo.DigitSubstitution.
  17. //
  18. namespace System.Globalization
  19. {
  20.    
  21.    
  22.     [Serializable()]
  23.     [System.Runtime.InteropServices.ComVisible(true)]
  24.     public enum DigitShapes : int
  25.     {
  26.        
  27.         Context = 0,
  28.         // The shape depends on the previous text in the same output.
  29.         None = 1,
  30.         // Gives full Unicode compatibility.
  31.         NativeNational = 2
  32.         // National shapes determined by LOCALE_SNATIVEDIGITS
  33.     }
  34. }

Developer Fusion