次の方法で共有


Collator.Equals(String, String) Method

Definition

Convenience method for comparing the equality of two strings based on this Collator's collation rules.

[Android.Runtime.Register("equals", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetEquals_Ljava_lang_String_Ljava_lang_String_Handler")]
public virtual bool Equals (string? source, string? target);
[<Android.Runtime.Register("equals", "(Ljava/lang/String;Ljava/lang/String;)Z", "GetEquals_Ljava_lang_String_Ljava_lang_String_Handler")>]
override this.Equals : string * string -> bool

Parameters

source
String

the source string to be compared with.

target
String

the target string to be compared with.

Returns

true if the strings are equal according to the collation rules. false, otherwise.

Attributes

Remarks

Convenience method for comparing the equality of two strings based on this Collator's collation rules.

Java documentation for java.text.Collator.equals(java.lang.String, java.lang.String).

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