NamespaceHandling

NamespaceHandling enum

Specifies whether to remove duplicate namespace declarations in the XmlWriter.

enum class NamespaceHandling

Values

NameValueDescription
Default0Specifies that duplicate namespace declarations will not be removed.
OmitDuplicates1Specifies that duplicate namespace declarations will be removed. For the duplicate namespace to be removed, the prefix and the namespace must match.

See Also