XmlWriterSettings Properties

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Namespace:   System.Xml
Assembly:  System.Xml (in System.Xml.dll)

NameDescription
System_CAPS_pubpropertyAsync

Gets or sets a value that indicates whether asynchronous XmlWriter methods can be used on a particular XmlWriter instance.

System_CAPS_pubpropertyCheckCharacters

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.

System_CAPS_pubpropertyCloseOutput

Gets or sets a value indicating whether the XmlWriter should also close the underlying stream or TextWriter when the Close method is called.

System_CAPS_pubpropertyConformanceLevel

Gets or sets the level of conformance that the XML writer checks the XML output for.

System_CAPS_pubpropertyDoNotEscapeUriAttributes

Gets or sets a value that indicates whether the XmlWriter does not escape URI attributes.

System_CAPS_pubpropertyEncoding

Gets or sets the type of text encoding to use.

System_CAPS_pubpropertyIndent

Gets or sets a value indicating whether to indent elements.

System_CAPS_pubpropertyIndentChars

Gets or sets the character string to use when indenting. This setting is used when the Indent property is set to true.

System_CAPS_pubpropertyNamespaceHandling

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.

System_CAPS_pubpropertyNewLineChars

Gets or sets the character string to use for line breaks.

System_CAPS_pubpropertyNewLineHandling

Gets or sets a value indicating whether to normalize line breaks in the output.

System_CAPS_pubpropertyNewLineOnAttributes

Gets or sets a value indicating whether to write attributes on a new line.

System_CAPS_pubpropertyOmitXmlDeclaration

Gets or sets a value indicating whether to omit an XML declaration.

System_CAPS_pubpropertyOutputMethod

Gets the method used to serialize the XmlWriter output.

System_CAPS_pubpropertyWriteEndDocumentOnClose

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.

Return to top
Show: