System::Xml::XmlReader::get_Value method

XmlReader::get_Value method

When overridden in a derived class, gets the text value of the current node.

virtual String System::Xml::XmlReader::get_Value()=0

ReturnValue

The value returned depends on the XmlReader::get_NodeType value of the node.

Remarks

The following table lists node types that have a value to return. All other node types return String::Empty.
Node typeValue
AttributeThe value of the attribute.
CDATAThe content of the CDATA section.
CommentThe content of the comment.
DocumentTypeThe internal subset.
ProcessingInstructionThe entire content, excluding the target.
SignificantWhitespaceThe white space between markup in a mixed content model.
TextThe content of the text node.
WhitespaceThe white space between markup.
XmlDeclarationThe content of the declaration.

See Also