XmlWriterSettings
Gets or sets a value that indicates whether asynchronous XmlWriter methods can be used on a particular XmlWriter instance.
Gets or sets a value that indicates whether the XML writer should check to ensure that all characters in the document conform to the "2.2 Characters" section of the W3C XML 1.0 Recommendation.
Gets or sets a value indicating whether the XmlWriter should also close the underlying stream or TextWriter when the Close method is called.
Gets or sets the level of conformance that the XML writer checks the XML output for.
Gets or sets the type of text encoding to use.
Gets or sets a value indicating whether to indent elements.
Gets or sets the character string to use when indenting. This setting is used when the Indent property is set to true.
Gets or sets a value that indicates whether the XmlWriter should remove duplicate namespace declarations when writing XML content. The default behavior is for the writer to output all namespace declarations that are present in the writer's namespace resolver.
Gets or sets the character string to use for line breaks.
Gets or sets a value indicating whether to normalize line breaks in the output.
Gets or sets a value indicating whether to write attributes on a new line.
Gets or sets a value indicating whether to omit an XML declaration.
Gets or sets a value that indicates whether the XmlWriter will add closing tags to all unclosed element tags when the Close method is called.
public XmlWriterSettings()
Initializes a new instance of the XmlWriterSettings class.
Creates a copy of the XmlWriterSettings instance.
Resets the members of the settings class to their default values.