IXmlSerializerExtensions.TextAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| TextAsync(IXmlSerializer, String) |
Runs Text(String) on the thread pool. |
| TextAsync(IXmlSerializer, Char[], Int32, Int32) |
Runs Text(Char[], Int32, Int32) on the thread pool. |
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.