Language

IXmlSerializerExtensions.TextAsync Method

Definition

Overloads

TextAsync(IXmlSerializer, String)

Runs Text(String) on the thread pool.

public static System.Threading.Tasks.Task<Org.XmlPull.V1.IXmlSerializer?> TextAsync(this Org.XmlPull.V1.IXmlSerializer self, string? text);
static member TextAsync : Org.XmlPull.V1.IXmlSerializer * string -> System.Threading.Tasks.Task<Org.XmlPull.V1.IXmlSerializer>

Parameters

self
IXmlSerializer

The serializer to use.

text
String

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

Returns

A task whose result is the serializer returned by the synchronous text call.

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

TextAsync(IXmlSerializer, Char[], Int32, Int32)

Runs Text(Char[], Int32, Int32) on the thread pool.

public static System.Threading.Tasks.Task<Org.XmlPull.V1.IXmlSerializer?> TextAsync(this Org.XmlPull.V1.IXmlSerializer self, char[]? buf, int start, int len);
static member TextAsync : Org.XmlPull.V1.IXmlSerializer * char[] * int * int -> System.Threading.Tasks.Task<Org.XmlPull.V1.IXmlSerializer>

Parameters

self
IXmlSerializer

The serializer to use.

buf
Char[]

The buffer containing the character data to write. Do not change the selected characters until the task completes. 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

A task whose result is the serializer returned by the synchronous text call.

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