NamespaceHandling Property

XmlWriterSettings.NamespaceHandling Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the NamespaceHandling enumeration used to specify whether to remove duplicate namespace declarations in the XmlWriter. For the duplicate namespace to be removed, the prefix and the namespace have to match.

Namespace:  System.Xml
Assembly:  System.Xml (in System.Xml.dll)

public NamespaceHandling NamespaceHandling { get; set; }

Property Value

Type: System.Xml.NamespaceHandling
The NamespaceHandling enumeration used to specify whether to remove duplicate namespace declarations in the XmlWriter.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft