WriteAttributes()

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

When overridden in a derived class, writes out all the attributes found at the current position in the XmlReader.

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

Arguments

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

See Also