Редагувати

Поділитися через


XmlWriterSettings.NamespaceHandling Property

Definition

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.

Applies to