XmlWriterSettings Members

The following tables list the members exposed by the XmlWriterSettings type.

Public Constructors

Name Description
Public Method XmlWriterSettings Initializes a new instance of the XmlWriterSettings class.

Public Properties

Name Description
Public Property CheckCharacters Gets or sets a value indicating whether to do character checking.
Public Property 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 ConformanceLevel Gets or sets the level of conformance which the XmlWriter complies with.
Public Property Encoding Gets or sets the text encoding to use.
Public Property Indent Gets or sets a value indicating whether to indent elements.
Public Property IndentChars Gets or sets the character string to use when indenting.
Public Property NewLineChars Gets or sets the character string to use for line breaks.
Public Property NewLineHandling Gets or sets a value indicating whether to normalize line breaks in the output.
Public Property NewLineOnAttributes Gets or sets a value indicating whether to write attributes on a new line.
Public Property OmitXmlDeclaration Gets or sets a value indicating whether to write an XML declaration.
Public Property OutputMethod Gets the method used to serialize the XmlWriter output.

Public Methods

Name Description
Public Method Clone Creates a copy of the XmlWriterSettings instance.
Public Method Reset Resets the members of the settings class to their default values.

See Also

Reference

XmlWriterSettings Class
System.Ext.Xml Namespace