WriteNode()

XmlWriter::WriteNode(SharedPtr<XmlReader>, bool) method

When overridden in a derived class, copies everything from the reader to the writer and moves the reader to the start of the next sibling.

virtual void System::Xml::XmlWriter::WriteNode(SharedPtr<XmlReader> reader, bool defattr)

Arguments

ParameterTypeDescription
readerSharedPtr<XmlReader>The XmlReader to read from.
defattrbooltrue to copy the default attributes from the XmlReader; otherwise, false.

XmlWriter::WriteNode(SharedPtr<XPath::XPathNavigator>, bool) method

Copies everything from the XPathNavigator object to the writer. The position of the XPathNavigator remains unchanged.

virtual void System::Xml::XmlWriter::WriteNode(SharedPtr<XPath::XPathNavigator> navigator, bool defattr)

Arguments

ParameterTypeDescription
navigatorSharedPtr<XPath::XPathNavigator>The XPathNavigator to copy from.
defattrbooltrue to copy the default attributes; otherwise, false.

See Also