NamespaceHandling Enumeration
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Specifies whether to remove duplicate namespace declarations in the XmlWriter.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.XmlAssembly: System.Xml (in System.Xml.dll)
Use NamespaceHandling property to specify whether to remove duplicate namespace declarations in the XmlWriter. For the duplicate namespace to be removed, the prefix and the namespace have to match.