Partager via


IFormattedValue.AppendTo(Object) Method

Definition

Appends the formatted string to an Appendable.

[Android.Runtime.Register("appendTo", "(Ljava/lang/Appendable;)Ljava/lang/Appendable;", "GetAppendTo_Ljava_lang_Appendable_Handler:Android.Icu.Text.IFormattedValueInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
[Java.Interop.JavaTypeParameters(new System.String[] { "A extends java.lang.Appendable" })]
public Java.Lang.Object? AppendTo (Java.Lang.Object? appendable);
[<Android.Runtime.Register("appendTo", "(Ljava/lang/Appendable;)Ljava/lang/Appendable;", "GetAppendTo_Ljava_lang_Appendable_Handler:Android.Icu.Text.IFormattedValueInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "A extends java.lang.Appendable" })>]
abstract member AppendTo : Java.Lang.Object -> Java.Lang.Object

Parameters

appendable
Object

The Appendable to which to append the string output.

Returns

The same Appendable, for chaining.

Attributes

Remarks

Appends the formatted string to an Appendable.

If an IOException occurs when appending to the Appendable, an unchecked ICUUncheckedIOException is thrown instead.

Java documentation for android.icu.text.FormattedValue.appendTo(A).

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