String.CompareTo(String) String.CompareTo(String) Method

Definition

Compares this string to the given string.

[Android.Runtime.Register("compareTo", "(Ljava/lang/String;)I", "")]
public int CompareTo (string anotherString);
member this.CompareTo : string -> int

Parameters

anotherString
String String

Returns

Exceptions

Remarks

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