Partager via


ICharSequence.Length Method

Definition

Returns the length of this character sequence.

[Android.Runtime.Register("length", "()I", "GetLengthHandler:Java.Lang.ICharSequenceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int Length ();
[<Android.Runtime.Register("length", "()I", "GetLengthHandler:Java.Lang.ICharSequenceInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Length : unit -> int

Returns

the number of chars in this sequence

Attributes

Remarks

Returns the length of this character sequence. The length is the number of 16-bit chars in the sequence.

Java documentation for java.lang.CharSequence.length().

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