Share via


XmlReader.ReadElementString Method ()

Reads a text-only element.

Namespace: System.Xml
Assembly: System.Xml (in system.xml.dll)

Syntax

public virtual string ReadElementString ()

Return Value

The text contained in the element that was read. An empty string if the element is empty ( or ).

Version Information

Available in the .NET Micro Framework versions 2.5, 3.0, 4.0, and 4.1.

See Also

Reference

XmlReader Class
XmlReader Members
System.Xml Namespace