String.ContentEquals String.ContentEquals Method

Definition

Overloads

ContentEquals(ICharSequence) ContentEquals(ICharSequence)

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

ContentEquals(StringBuffer) ContentEquals(StringBuffer)

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

ContentEquals(String) ContentEquals(String)

ContentEquals(ICharSequence) ContentEquals(ICharSequence)

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

[Android.Runtime.Register("contentEquals", "(Ljava/lang/CharSequence;)Z", "")]
public bool ContentEquals (Java.Lang.ICharSequence cs);
member this.ContentEquals : Java.Lang.ICharSequence -> bool

Parameters

cs
ICharSequence ICharSequence

the character sequence to compare to.

Returns

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.

ContentEquals(StringBuffer) ContentEquals(StringBuffer)

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

[Android.Runtime.Register("contentEquals", "(Ljava/lang/StringBuffer;)Z", "")]
public bool ContentEquals (Java.Lang.StringBuffer sb);
member this.ContentEquals : Java.Lang.StringBuffer -> bool

Parameters

sb
StringBuffer StringBuffer

the StringBuffer to compare this string to.

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.

ContentEquals(String) ContentEquals(String)

public bool ContentEquals (string cs);
member this.ContentEquals : string -> bool

Parameters

Returns

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