Export (0) Print
Expand All

XmlWriterSettings Properties

The XmlWriterSettings type exposes the following members.

  Name Description
Public property Async Gets or sets a value that indicates whether asynchronous XmlWriter methods can be used on a particular XmlWriter instance.
Public property Supported by the XNA Framework Supported by Portable Class Library CheckCharacters 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.
Public property Supported by the XNA Framework Supported by Portable Class Library CloseOutput Gets or sets a value indicating whether the XmlWriter should also close the underlying stream or TextWriter when the Close method is called.
Public property Supported by the XNA Framework Supported by Portable Class Library ConformanceLevel Gets or sets the level of conformance that the XML writer checks the XML output for.
Public property DoNotEscapeUriAttributes Gets or sets a value that indicates whether the XmlWriter does not escape URI attributes.
Public property Supported by the XNA Framework Supported by Portable Class Library Encoding Gets or sets the type of text encoding to use.
Public property Supported by the XNA Framework Supported by Portable Class Library Indent Gets or sets a value indicating whether to indent elements.
Public property Supported by the XNA Framework Supported by Portable Class Library IndentChars Gets or sets the character string to use when indenting. This setting is used when the Indent property is set to true.
Public property Supported by Portable Class Library 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.
Public property Supported by the XNA Framework Supported by Portable Class Library NewLineChars Gets or sets the character string to use for line breaks.
Public property Supported by the XNA Framework Supported by Portable Class Library NewLineHandling Gets or sets a value indicating whether to normalize line breaks in the output.
Public property Supported by the XNA Framework Supported by Portable Class Library NewLineOnAttributes Gets or sets a value indicating whether to write attributes on a new line.
Public property Supported by the XNA Framework Supported by Portable Class Library OmitXmlDeclaration Gets or sets a value indicating whether to omit an XML declaration.
Public property Supported by the XNA Framework OutputMethod Gets the method used to serialize the XmlWriter output.
Public property 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.
Top
Show:
© 2015 Microsoft