System.Xml.XmlReader.NamespaceURI Property

When overridden in a derived class, gets the namespace URI (as defined in the W3C Namespace specification) of the node on which the reader is positioned.

Syntax

public abstract string NamespaceURI { get; }

Value

A string containing the namespace URI of the current node or, if no namespace URI is associated with the current node, string.Empty.

Remarks

This property is relevant to Element and Attribute nodes only.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0