Mono Class Library: System.Xml.XmlReader Overview | MembersSystem.Xml.XmlReader.Value Property |
Gets the text value of the current node. [Edit]
|
A string containing the text value of the current node. [Edit]
Operation
The value returned depends on the XmlReader.NodeType. The following table lists node types that have a value to return. All other node types return string.Empty.
Node Type Value Attribute The value of the attribute. CDATA The content of the CDATA section. Comment The content of the comment. DocumentType The internal subset. ProcessingInstruction The entire content, excluding the target. SignificantWhitespace The white space between markup in a mixed content model, or in the scope of xml:space = "preserve". Text The content of the text node.
Whitespace The white space between markup. XmlDeclaration The content of the declaration. This property is read-only.
Note to Inheritors
This property must be overridden in order to provide the functionality described above, as there is no default implementation. [Edit]
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0