33 lines
1.4 KiB
C#
33 lines
1.4 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace System
|
|
{
|
|
/// <summary>Specifies the culture, case, and sort rules to be used by certain overloads of the <see cref="M:System.String.Compare(System.String,System.String)" /> and <see cref="M:System.String.Equals(System.Object)" /> methods.</summary>
|
|
/// <filterpriority>2</filterpriority>
|
|
// Token: 0x020006AA RID: 1706
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public enum StringComparison
|
|
{
|
|
/// <summary>Compare strings using culture-sensitive sort rules and the current culture.</summary>
|
|
// Token: 0x040019B1 RID: 6577
|
|
CurrentCulture,
|
|
/// <summary>Compare strings using culture-sensitive sort rules, the current culture, and ignoring the case of the strings being compared.</summary>
|
|
// Token: 0x040019B2 RID: 6578
|
|
CurrentCultureIgnoreCase,
|
|
/// <summary>Compare strings using culture-sensitive sort rules and the invariant culture.</summary>
|
|
// Token: 0x040019B3 RID: 6579
|
|
InvariantCulture,
|
|
/// <summary>Compare strings using culture-sensitive sort rules, the invariant culture, and ignoring the case of the strings being compared.</summary>
|
|
// Token: 0x040019B4 RID: 6580
|
|
InvariantCultureIgnoreCase,
|
|
/// <summary>Compare strings using ordinal sort rules.</summary>
|
|
// Token: 0x040019B5 RID: 6581
|
|
Ordinal,
|
|
/// <summary>Compare strings using ordinal sort rules and ignoring the case of the strings being compared.</summary>
|
|
// Token: 0x040019B6 RID: 6582
|
|
OrdinalIgnoreCase
|
|
}
|
|
}
|