StringComparison
Specifies the culture, case, and sort rules to be used with certain implementations of the
CorString.Compare and CorString.Equals methods.
Public Enum StringComparison
Values
- CurrentCulture = 0
- Compare strings using culture-sensitive sort rules and the current culture.
- CurrentCultureIgnoreCase = 1
- Compare strings using culture-sensitive sort rules, the current culture, and ignoring the case of the strings being compared.
- InvariantCulture = 2
- Compare strings using culture-sensitive sort rules and the invariant culture.
- InvariantCultureIgnoreCase = 3
- Compare strings using culture-sensitive sort rules, the invariant culture, and ignoring the case of the strings being compared.
- Ordinal = 4
- Specifies a case-sensitive string comparison.
- OrdinalIgnoreCase = 5
- Specifies a case-insensitive string comparison.
- BinaryCompare = 100
- Uses the Visual Basic StrComp function with vbBinaryCompare option.
- TextCompare = 101
- Uses the Visual Basic StrComp function with vbTextCompare option.
See Also
Project CorLib Overview
Class CorString Overview