## XmlWriterSettings::get_NamespaceHandling method


Returns a value that indicates whether the [XmlWriter](../../xmlwriter/) should remove duplicate namespace declarations when writing XML content. The default behavior is for the writer to output all namespace declarations that are present in the writer's namespace resolver.

```cpp
System::Xml::NamespaceHandling System::Xml::XmlWriterSettings::get_NamespaceHandling()
```


### ReturnValue

The [NamespaceHandling](../../namespacehandling/) enumeration used to specify whether to remove duplicate namespace declarations in the [XmlWriter](../../xmlwriter/).

## See Also

* Enum [NamespaceHandling](../../namespacehandling/)
* Class [XmlWriterSettings](../)
* Namespace [System::Xml](../../)
* Library [Aspose.PDF for C++](../../../)
