ReadOuterXml()
XmlReader::ReadOuterXml() method
When overridden in a derived class, reads the content, including markup, representing this node and all its children.
virtual String System::Xml::XmlReader::ReadOuterXml()
Return Value
If the reader is positioned on an element or an attribute node, this method returns all the XML content, including markup, of the current node and all its children; otherwise, it returns an empty string.
Exceptions
| Exception | Description |
|---|---|
| XmlException | The XML was not well-formed, or an error occurred while parsing the XML. |
See Also
- Class String
- Class XmlReader
- Namespace System::Xml
- Library Aspose.Slides