Android Guides | Samples

Java.Lang.String.CaseInsensitiveOrder Property

Compares strings using String.CompareToIgnoreCase(String).

Syntax

[Android.Runtime.Register("CASE_INSENSITIVE_ORDER")]
public static IComparator CaseInsensitiveOrder { get; }

Remarks

Compares strings using String.CompareToIgnoreCase(String). This is not suitable for case-insensitive string comparison for all locales. Use a Collator instead.

[Android Documentation]

Requirements

Namespace: Java.Lang
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1