Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

enum System.​Xml.​NamespaceHandling

Assembly: System.Xml.ReaderWriter

Specifies whether to remove duplicate namespace declarations in the <see cref="T:System.Xml.XmlWriter" /> .

Values

Default
Specifies that duplicate namespace declarations will not be removed.
OmitDuplicates
Specifies that duplicate namespace declarations will be removed. For the duplicate namespace to be removed, the prefix and the namespace must match.