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.

See Also