Share via


CharBuffer.SubSequenceFormatted(Int32, Int32) Method

Definition

Creates a new character buffer that represents the specified subsequence of this buffer, relative to the current position.

[Android.Runtime.Register("subSequence", "(II)Ljava/lang/CharSequence;", "GetSubSequence_IIHandler")]
public abstract Java.Lang.ICharSequence? SubSequenceFormatted (int start, int end);
[<Android.Runtime.Register("subSequence", "(II)Ljava/lang/CharSequence;", "GetSubSequence_IIHandler")>]
abstract member SubSequenceFormatted : int * int -> Java.Lang.ICharSequence

Parameters

start
Int32

The index, relative to the current position, of the first character in the subsequence; must be non-negative and no larger than remaining()

end
Int32

The index, relative to the current position, of the character following the last character in the subsequence; must be no smaller than start and no larger than remaining()

Returns

The new character buffer

Implements

Attributes

Exceptions

if either start or end is invalid.

Remarks

Java documentation for java.nio.CharBuffer.subSequence(int, int).

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