NamespaceHandling Enumeration
.NET Framework (current version)
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.
Assembly: System.Xml (in System.Xml.dll)
| Member name | Description | |
|---|---|---|
| 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. |
The NamespaceHandling enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Show: