Android Guides | Samples

Java.Lang.ICharSequence

This interface represents an ordered set of characters and defines the methods to probe them.

See Also: ICharSequence

Syntax

[Android.Runtime.Register("java/lang/CharSequence", "", "Java.Lang.ICharSequenceInvoker")]
public interface ICharSequence : IJavaObject, IEnumerable<char>, IDisposable

Remarks

This interface represents an ordered set of characters and defines the methods to probe them.

[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

The members of Java.Lang.ICharSequence are listed below.

Public Methods

CharAt(Int32) : Char
Returns the character at index.
Length() : Int32
Returns the number of characters in this sequence.
SubSequenceFormatted(Int32, Int32) : ICharSequence
Returns a CharSequence from the start index (inclusive) to the end index (exclusive) of this sequence.
ToString() : String
Returns a string with the same characters in the same order as in this sequence.