Share via


SpannableStringBuilder.Append Method

Definition

Overloads

Append(String, Int32, Int32)

Appends the character sequence text and spans what over the appended part.

Append(ICharSequence, Int32, Int32)

Appends the character sequence text and spans what over the appended part.

Append(ICharSequence, Object, SpanTypes)

Appends the character sequence text and spans what over the appended part.

Append(String, Object, SpanTypes)

Appends the character sequence text and spans what over the appended part.

Append(Char)

Appends the character sequence text and spans what over the appended part.

Append(ICharSequence)

Appends the character sequence text and spans what over the appended part.

Append(String)

Appends the character sequence text and spans what over the appended part.

Append(String, Int32, Int32)

Appends the character sequence text and spans what over the appended part.

public Java.Lang.IAppendable? Append (string? text, int start, int end);
member this.Append : string * int * int -> Java.Lang.IAppendable

Parameters

text
String

the character sequence to append.

start
Int32
end
Int32

Returns

this SpannableStringBuilder.

Remarks

Java documentation for android.text.SpannableStringBuilder.append(java.lang.CharSequence, java.lang.Object, 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

Append(ICharSequence, Int32, Int32)

Appends the character sequence text and spans what over the appended part.

[Android.Runtime.Register("append", "(Ljava/lang/CharSequence;II)Landroid/text/SpannableStringBuilder;", "GetAppend_Ljava_lang_CharSequence_IIHandler")]
public virtual Java.Lang.IAppendable? Append (Java.Lang.ICharSequence? text, int start, int end);
[<Android.Runtime.Register("append", "(Ljava/lang/CharSequence;II)Landroid/text/SpannableStringBuilder;", "GetAppend_Ljava_lang_CharSequence_IIHandler")>]
abstract member Append : Java.Lang.ICharSequence * int * int -> Java.Lang.IAppendable
override this.Append : Java.Lang.ICharSequence * int * int -> Java.Lang.IAppendable

Parameters

text
ICharSequence

the character sequence to append.

start
Int32

the first index of the subsequence of csq that is appended.

end
Int32

the last index of the subsequence of csq that is appended.

Returns

this SpannableStringBuilder.

Implements

Attributes

Remarks

Java documentation for android.text.SpannableStringBuilder.append(java.lang.CharSequence, java.lang.Object, 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

Append(ICharSequence, Object, SpanTypes)

Appends the character sequence text and spans what over the appended part.

[Android.Runtime.Register("append", "(Ljava/lang/CharSequence;Ljava/lang/Object;I)Landroid/text/SpannableStringBuilder;", "GetAppend_Ljava_lang_CharSequence_Ljava_lang_Object_IHandler")]
public virtual Java.Lang.IAppendable? Append (Java.Lang.ICharSequence? text, Java.Lang.Object? what, Android.Text.SpanTypes flags);
[<Android.Runtime.Register("append", "(Ljava/lang/CharSequence;Ljava/lang/Object;I)Landroid/text/SpannableStringBuilder;", "GetAppend_Ljava_lang_CharSequence_Ljava_lang_Object_IHandler")>]
abstract member Append : Java.Lang.ICharSequence * Java.Lang.Object * Android.Text.SpanTypes -> Java.Lang.IAppendable
override this.Append : Java.Lang.ICharSequence * Java.Lang.Object * Android.Text.SpanTypes -> Java.Lang.IAppendable

Parameters

text
ICharSequence

the character sequence to append.

what
Object

the object to be spanned over the appended text.

flags
SpanTypes

see Spanned.

Returns

this SpannableStringBuilder.

Attributes

Remarks

Appends the character sequence text and spans what over the appended part. See Spanned for an explanation of what the flags mean.

Java documentation for android.text.SpannableStringBuilder.append(java.lang.CharSequence, java.lang.Object, 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

Append(String, Object, SpanTypes)

Appends the character sequence text and spans what over the appended part.

public Java.Lang.IAppendable? Append (string? text, Java.Lang.Object? what, Android.Text.SpanTypes flags);
member this.Append : string * Java.Lang.Object * Android.Text.SpanTypes -> Java.Lang.IAppendable

Parameters

text
String

the character sequence to append.

what
Object

the object to be spanned over the appended text.

flags
SpanTypes

see Spanned.

Returns

this SpannableStringBuilder.

Remarks

Appends the character sequence text and spans what over the appended part. See Spanned for an explanation of what the flags mean.

Java documentation for android.text.SpannableStringBuilder.append(java.lang.CharSequence, java.lang.Object, 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

Append(Char)

Appends the character sequence text and spans what over the appended part.

[Android.Runtime.Register("append", "(C)Landroid/text/SpannableStringBuilder;", "GetAppend_CHandler")]
public virtual Java.Lang.IAppendable? Append (char text);
[<Android.Runtime.Register("append", "(C)Landroid/text/SpannableStringBuilder;", "GetAppend_CHandler")>]
abstract member Append : char -> Java.Lang.IAppendable
override this.Append : char -> Java.Lang.IAppendable

Parameters

text
Char

the character sequence to append.

Returns

this SpannableStringBuilder.

Implements

Attributes

Remarks

Java documentation for android.text.SpannableStringBuilder.append(java.lang.CharSequence, java.lang.Object, 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

Append(ICharSequence)

Appends the character sequence text and spans what over the appended part.

[Android.Runtime.Register("append", "(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;", "GetAppend_Ljava_lang_CharSequence_Handler")]
public virtual Java.Lang.IAppendable? Append (Java.Lang.ICharSequence? text);
[<Android.Runtime.Register("append", "(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;", "GetAppend_Ljava_lang_CharSequence_Handler")>]
abstract member Append : Java.Lang.ICharSequence -> Java.Lang.IAppendable
override this.Append : Java.Lang.ICharSequence -> Java.Lang.IAppendable

Parameters

text
ICharSequence

the character sequence to append.

Returns

this SpannableStringBuilder.

Implements

Attributes

Remarks

Java documentation for android.text.SpannableStringBuilder.append(java.lang.CharSequence, java.lang.Object, 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

Append(String)

Appends the character sequence text and spans what over the appended part.

public Java.Lang.IAppendable? Append (string? text);
member this.Append : string -> Java.Lang.IAppendable

Parameters

text
String

the character sequence to append.

Returns

this SpannableStringBuilder.

Remarks

Java documentation for android.text.SpannableStringBuilder.append(java.lang.CharSequence, java.lang.Object, 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