Click or drag to resize
XmlReaderReadElementString Method
Reads a text-only element.

Namespace: System.Xml
Assembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax
C#
public virtual string ReadElementString()

Return Value

Type: String
The text contained in the element that was read. An empty string if the element is empty (<item></item> or <item/>).
Exceptions
ExceptionCondition
XmlExceptionThe next content node is not a start tag; or the element found does not contain a simple text value.
See Also