set_WriteEndDocumentOnClose()

XmlWriterSettings::set_WriteEndDocumentOnClose(bool) method

Sets a value that indicates whether the XmlWriter will add closing tags to all unclosed element tags when the XmlWriter::Close method is called.

void System::Xml::XmlWriterSettings::set_WriteEndDocumentOnClose(bool value)

Arguments

ParameterTypeDescription
valueboolThe value to set.

See Also