XmlWriterSettings Properties
.NET Framework 4.5
The XmlWriterSettings type exposes the following members.
| Name | Description | |
|---|---|---|
|
Async | Gets or sets a value that indicates whether asynchronous XmlWriter methods can be used on a particular XmlWriter instance. |
|
CheckCharacters | Gets or sets a value indicating whether to do character checking. |
|
CloseOutput | Gets or sets a value indicating whether the XmlWriter should also close the underlying stream or TextWriter when the Close method is called. |
|
ConformanceLevel | Gets or sets the level of conformance which the XmlWriter complies with. |
|
DoNotEscapeUriAttributes | Gets or sets a value that indicates whether the XmlWriter do not escape URI attributes. |
|
Encoding | Gets or sets the type of text encoding to use. |
|
Indent | Gets or sets a value indicating whether to indent elements. |
|
IndentChars | Gets or sets the character string to use when indenting. This setting is used when the Indent property is set to true. |
|
NamespaceHandling | 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. |
|
NewLineChars | Gets or sets the character string to use for line breaks. |
|
NewLineHandling | Gets or sets a value indicating whether to normalize line breaks in the output. |
|
NewLineOnAttributes | Gets or sets a value indicating whether to write attributes on a new line. |
|
OmitXmlDeclaration | Gets or sets a value indicating whether to omit an XML declaration. |
|
OutputMethod | Gets the method used to serialize the XmlWriter output. |
|
WriteEndDocumentOnClose | 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. |