Language

IXmlSerializer.Text Method

Definition

Overloads

Name Description
Text(String)

Writes text, where special XML chars are escaped automatically

Text(Char[], Int32, Int32)

Writes text, where special XML chars are escaped automatically

Text(String)

Writes text, where special XML chars are escaped automatically

[Android.Runtime.Register("text", "(Ljava/lang/String;)Lorg/xmlpull/v1/XmlSerializer;", "GetText_Ljava_lang_String_Handler:Org.XmlPull.V1.IXmlSerializerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.XmlPull.V1.IXmlSerializer? Text(string? text);
[<Android.Runtime.Register("text", "(Ljava/lang/String;)Lorg/xmlpull/v1/XmlSerializer;", "GetText_Ljava_lang_String_Handler:Org.XmlPull.V1.IXmlSerializerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Text : string -> Org.XmlPull.V1.IXmlSerializer

Parameters

text
String

The character data to write. Special XML characters are escaped.

Returns

This serializer, so that further write calls can be chained.

Attributes

Exceptions

Remarks

Writes text, where special XML chars are escaped automatically

Java documentation for org.xmlpull.v1.XmlSerializer.text(java.lang.String).

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

Text(Char[], Int32, Int32)

Writes text, where special XML chars are escaped automatically

[Android.Runtime.Register("text", "([CII)Lorg/xmlpull/v1/XmlSerializer;", "GetText_arrayCIIHandler:Org.XmlPull.V1.IXmlSerializerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Org.XmlPull.V1.IXmlSerializer? Text(char[]? buf, int start, int len);
[<Android.Runtime.Register("text", "([CII)Lorg/xmlpull/v1/XmlSerializer;", "GetText_arrayCIIHandler:Org.XmlPull.V1.IXmlSerializerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member Text : char[] * int * int -> Org.XmlPull.V1.IXmlSerializer

Parameters

buf
Char[]

The buffer containing the character data to write. Special XML characters are escaped.

start
Int32

The zero-based index of the first character to write.

len
Int32

The number of characters to write.

Returns

This serializer, so that further write calls can be chained.

Attributes

Exceptions

Remarks

Writes text, where special XML chars are escaped automatically

Java documentation for org.xmlpull.v1.XmlSerializer.text(char[], 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