System.Xml.XmlWriter.WriteCharsAsync Method

Asynchronously writes text one buffer at a time.

Syntax

public virtual System.Threading.Tasks.Task WriteCharsAsync (char[] buffer, int index, int count)

Parameters

buffer
Character array containing the text to write.
index
The position in the buffer indicating the start of the text to write.
count
The number of characters to write.

Returns

The task that represents the asynchronous WriteChars operation.

Remarks

This is the asynchronous version of XmlWriter.WriteChars(Char[], int, int), with the same functionality. To use this method, you must set the XmlWriterSettings.Async flag to true.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 4.0.0.0