Name

Formatting

Synopsis

This enumeration specifies whether element content that is output from XmlTextWriter is indented. This is only of interest to human consumers of XML; if the destination of the XML document is another machine or software process, the additional whitespace adds only to the file size.

public enum Formatting {
   None = 0,
   Indented = 1
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) Formatting

Returned By

XmlTextWriter.Formatting

Passed To

XmlTextWriter.Formatting

More types from System.Xml

Figure 44-2. More types from System.Xml

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.