System.Xml.XmlWriterSettings.WriteEndDocumentOnClose Property

Gets or sets a value that indicates whether the System.Xml.XmlWriter will add closing tags to all unclosed element tags when the XmlWriter.Close method is called.

Syntax

public bool WriteEndDocumentOnClose { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

If you set this flag to false, the output XML file may not be well-formed.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 4.0.0.0
Since: .NET 2.0