SaveOptions Enumeration
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Specifies serialization options.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.Xml.LinqAssembly: System.Xml.Linq (in System.Xml.Linq.dll)
| Member name | Description | |
|---|---|---|
| DisableFormatting | Preserves all insignificant white space while serializing. | |
| None | Formats (indent) the XML while serializing. | |
| OmitDuplicateNamespaces | Removes duplicate namespace declarations. For the duplicate namespace declarations to be removed, both the prefix and the namespace have to match. |
Show: