set_NamespaceHandling()

XmlWriterSettings::set_NamespaceHandling(System::Xml::NamespaceHandling) method

Sets a value that indicates whether the 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.

void System::Xml::XmlWriterSettings::set_NamespaceHandling(System::Xml::NamespaceHandling value)

Arguments

ParameterTypeDescription
valueSystem::Xml::NamespaceHandlingThe value to set.

See Also