Skip to main content
XmlDocument.NamespaceUri | namespaceUri property

Applies to Windows and Windows Phone

Returns the Uniform Resource Identifier (URI) for the namespace.

Syntax


var namespaceUri = xmlDocument.namespaceUri;

public object NamespaceUri { get; }

Public ReadOnly Property NamespaceUri As Object

public:
property Object^ NamespaceUri { 
   Object^ get();
}

Property value

Type: Object [JavaScript] | System.Object [.NET] | Platform::Object [C++]

The Uri for the namespace. This refers to the "uuu" portion of the namespace declaration xmlns:nnn="uuu".

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Data.Xml.Dom
Windows::Data::Xml::Dom [C++]

Metadata

Windows.winmd

See also

XmlDocument