CompareOptions.cs 695 B

1234567891011121314151617181920
  1. // Licensed to the .NET Foundation under one or more agreements.
  2. // The .NET Foundation licenses this file to you under the MIT license.
  3. // See the LICENSE file in the project root for more information.
  4. namespace System.Globalization
  5. {
  6. [Flags]
  7. public enum CompareOptions
  8. {
  9. None = 0x00000000,
  10. IgnoreCase = 0x00000001,
  11. IgnoreNonSpace = 0x00000002,
  12. IgnoreSymbols = 0x00000004,
  13. IgnoreKanaType = 0x00000008,
  14. IgnoreWidth = 0x00000010,
  15. OrdinalIgnoreCase = 0x10000000, // This flag can not be used with other flags.
  16. StringSort = 0x20000000,
  17. Ordinal = 0x40000000, // This flag can not be used with other flags.
  18. }
  19. }