get_Value()
Contents
[
Hide
]XmlNode::get_Value() method
Returns the value of the node.
virtual String System::Xml::XmlNode::get_Value()
Return Value
The value returned depends on the XmlNode::get_NodeType of the node:
Type | Value |
---|---|
Attribute | The value of the attribute. |
CDATASection | The content of the CDATA Section. |
Comment | The content of the comment. |
Document | nullptr . |
DocumentFragment | nullptr . |
DocumentType | nullptr . |
Element | nullptr . You can use the XmlElement::InnerText or XmlElement::get_InnerXml values to access the value of the element node. |
Entity | nullptr . |
EntityReference | nullptr . |
Notation | nullptr . |
ProcessingInstruction | The entire content excluding the target. |
Text | The content of the text node. |
SignificantWhitespace | The white space characters. White space can consist of one or more space characters, carriage returns, line feeds, or tabs. |
Whitespace | The white space characters. White space can consist of one or more space characters, carriage returns, line feeds, or tabs. |
XmlDeclaration | The content of the declaration (that is, everything between <?xml and ?> ). |
See Also
- Class String
- Class XmlNode
- Namespace System::Xml
- Library Aspose.Slides