XmlWriterSettings.NamespaceHandling Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or 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.
public:
property System::Xml::NamespaceHandling NamespaceHandling { System::Xml::NamespaceHandling get(); void set(System::Xml::NamespaceHandling value); };
public System.Xml.NamespaceHandling NamespaceHandling { get; set; }
member this.NamespaceHandling : System.Xml.NamespaceHandling with get, set
Public Property NamespaceHandling As NamespaceHandling
Property Value
The NamespaceHandling enumeration used to specify whether to remove duplicate namespace declarations in the XmlWriter.