Initial commit
[mono.git] / mcs / class / referencesource / mscorlib / system / stringcomparison.cs
1 // ==++==
2 // 
3 //   Copyright (c) Microsoft Corporation.  All rights reserved.
4 // 
5 // ==--==
6 /*============================================================
7 **
8 ** Enum:  StringComparison
9 **
10 **
11 ** Purpose: A mechanism to expose a simplified infrastructure for 
12 **          Comparing strings. This enum lets you choose of the custom 
13 **          implementations provided by the runtime for the user.
14 **
15 ** 
16 ===========================================================*/
17 namespace System{
18     
19     [Serializable]
20 [System.Runtime.InteropServices.ComVisible(true)]
21     public enum StringComparison {
22         CurrentCulture = 0,
23         CurrentCultureIgnoreCase = 1,
24         InvariantCulture = 2,
25         InvariantCultureIgnoreCase = 3,
26         Ordinal = 4,
27         OrdinalIgnoreCase = 5,
28     }
29 }