Android Guides | Samples

Java.Lang.String.ContentEquals Method

Returns true if the chars in the given CharSequence are the same as those in this string.

Syntax

[Android.Runtime.Register("contentEquals", "(Ljava/lang/CharSequence;)Z", "")]
public Boolean ContentEquals (ICharSequence cs)

Parameters

cs
the character sequence to compare to.

Remarks

Returns true if the chars in the given CharSequence are the same as those in this string.

[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