Mono Class Library: System.Xml.XmlTextReader Overview | MembersSystem.Xml.XmlTextReader.Value Property |
Gets the text value of the current node. [Edit]
|
A string containing the text value of the current node. [Edit]
This property is read-only.
The value returned depends on the XmlTextReader.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 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. Note:[Edit]This property overrides XmlReader.Value.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0