System.Xml.XmlReader.ReadInnerXmlAsync Method

Asynchronously reads all the content, including markup, as a string.

Syntax

public virtual System.Threading.Tasks.Task<string> ReadInnerXmlAsync ()

Returns

All the XML content, including markup, in the current node. If the current node has no children, an empty string is returned.

Remarks

This is the asynchronous version of XmlReader.ReadInnerXml, with the same functionality. To use this method, you must set the XmlReaderSettings.Async flag to true.

Requirements

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