get_WriteEndDocumentOnClose()

XmlWriterSettings::get_WriteEndDocumentOnClose() method

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

bool System::Xml::XmlWriterSettings::get_WriteEndDocumentOnClose()

Return Value

true if all unclosed element tags will be closed out; otherwise, false. The default value is true.

See Also