ULocale.CompareTo(ULocale) Method

Definition

Compares two ULocale for ordering.

[Android.Runtime.Register("compareTo", "(Landroid/icu/util/ULocale;)I", "", ApiSince=24)]
public int CompareTo (Android.Icu.Util.ULocale? other);
[<Android.Runtime.Register("compareTo", "(Landroid/icu/util/ULocale;)I", "", ApiSince=24)>]
member this.CompareTo : Android.Icu.Util.ULocale -> int

Parameters

other
ULocale

the ULocale to be compared.

Returns

a negative integer, zero, or a positive integer as this ULocale is less than, equal to, or greater than the specified ULocale.

Attributes

Remarks

Compares two ULocale for ordering.

<b>Note:</b> The order might change in future.

Java documentation for android.icu.util.ULocale.compareTo(android.icu.util.ULocale).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to