Reads the contents of a text-only element with the specified qualified
name.
[Edit]
Parameters
- name
- A string specifying the qualified name of an element.
[Edit]
Returns
A string containing the contents of the element.
[Edit]
Exceptions
Type | Reason |
---|
System.Xml.XmlException | The node is not an Element node, the XmlReader.Name property of the Element node does not equal name, the element does not contain a simple text value, or an error occurred while parsing the XML.
[Edit]
|
Remarks
Requirements
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0