Collator.Equals(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.