共用方式為


SpannableString.SubSequenceFormatted(Int32, Int32) Method

Definition

Returns a CharSequence from the start index (inclusive) to the end index (exclusive) of this sequence.

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

Parameters

start
Int32

the start offset of the sub-sequence. It is inclusive, that is, the index of the first character that is included in the sub-sequence.

end
Int32

the end offset of the sub-sequence. It is exclusive, that is, the index of the first character after those that are included in the sub-sequence

Returns

Implements

Attributes

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