XmlWriterSettings Properties
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
The XmlWriterSettings type exposes the following members.
Properties
Name | Description | |
---|---|---|
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. | |
Encoding | Gets or sets the 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 the NamespaceHandling enumeration used to specify whether to remove duplicate namespace declarations in the XmlWriter. For the duplicate namespace to be removed, the prefix and the namespace have to match. | |
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 write an XML declaration. |
Top