System::Globalization::CompareOptions enum

CompareOptions enum

String comparison options.

enum class CompareOptions : int32_t

Values

NameValueDescription
None0No special options.
IgnoreCase1Ignore case.
IgnoreNonSpace2Ignore nonspacing combining characters, e. g. diacritics.
IgnoreSymbols4Include whitespaces, punctuation signs and so on.
IgnoreKanaType8Ignore kana type (Japanese).
IgnoreWidth16Ignore character width wen comparing strings.
OrdinalIgnoreCase268435456Ordinal comparison with case difference ignored.
StringSort536870912Use string sort algorithm to compare characters.
Ordinal1073741824Compare UTF codes directly for first comparison.

See Also