Microsoft XML SDK 2.6 - XML Reference

IXMLDOMNode::namespaceURI Method

IXMLDOMNode::get_namespaceURI Method

Returns the URI (universal resource identifier) for the namespace.

Visual Basic Syntax

strValue = oXMLDOMNode.namespaceURI

C/C++ Syntax

HRESULT get_namespaceURI(
    BSTR *namespaceURI);

Parameters

namespaceURI [out]
URI for the namespace. This refers to the "uuu" portion of the namespace declaration xmlns:nnn="uuu".

C/C++ Return Values

S_OK
Value returned if successful.
S_FALSE
Value returned when there is no namespace.
E_INVALIDARG
Value returned if namespaceURI is Null.

Remarks

This member is an extension of the W3C DOM.

See Also

IXMLDOMNode Interface