Mono Class Library: System.Xml.XmlReader Overview | Members

System.Xml.XmlReader.NamespaceURI Property

Gets the namespace URI associated with the node on which the reader is positioned.

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

Operation

This property is relevant to Element and Attribute nodes only.

Namespaces conform to the W3C "Namespaces in XML" recommendation, REC-xml-names-19990114.

This property is read-only.

Note to Inheritors
This property must be overridden in order to provide the functionality described above, as there is no default implementation.

Requirements

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