Indicates how the output is formatted.
One of the members of the System.Xml.Formatting enumeration. The default is Formatting.None (no special formatting).
If this property is set to Formatting.Indented, child elements are indented using the XmlTextWriter.Indentation and XmlTextWriter.IndentChar properties. Only element content will be indented.
Note:Writing any text content, including string.Empty, puts that element into mixed content mode. Child elements do not inherit this "mixed" mode status. A child element of a "mixed" element will do indenting, unless it is also contains "mixed" content. Element content (http://www.w3.org/TR/1998/REC-xml-19980210#sec-element-content) and mixed content (http://www.w3.org/TR/1998/REC-xml-19980210#sec-mixed-content) are defined according to the XML 1.0 definitions of these terms.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0