Share via


NamespaceURI Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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.

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

Syntax

'Declaration
Public Overridable ReadOnly Property NamespaceURI As String
public virtual string NamespaceURI { get; }
public:
virtual property String^ NamespaceURI {
    String^ get ();
}
abstract NamespaceURI : string with get
override NamespaceURI : string with get
function get NamespaceURI () : String

Property Value

Type: System. . :: . .String
The namespace URI of the current node; otherwise an empty string.

Remarks

This property is relevant to Element and Attribute nodes only.

.NET Framework Security

See Also

Reference

XmlReader Class

System.Xml Namespace