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.
[Visual Basic]
Public MustOverride ReadOnly Property NamespaceURI As String
[C#]
public abstract string NamespaceURI {get;}
[C++]
public: __property virtual String* get_NamespaceURI() = 0;
[JScript]
public abstract function get NamespaceURI() : String; Property Value
The namespace URI of the current node; otherwise an empty string.
Remarks
This property is relevant to Element and Attribute nodes only.
Example
See NamespaceURI (in the XmlTextReader class) for an example using this property.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard
See Also
XmlReader Class | XmlReader Members | System.Xml Namespace