Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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

Script Syntax

Copy Code
		
strValue = oXMLDOMNode.namespaceURI;

Remarks

Script Parameters

None.

Script Return Value

C/C++ Syntax

Copy Code
HRESULT get_namespaceURI(
  BSTR* 
namespaceURI
);

Remarks

C/C++ Parameters

namespaceURI

[out, retval] 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 namespaceURIis Null.

Requirements

Header msxml2.h, msxml2.idl
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

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

This member is an extension of the Worldwide Web Consortium (W3C) Document Object Model (DOM).

This property is read-only, and applies to the following objects and interfaces:

DOMDocument, IXMLDOMAttribute, IXMLDOMCDATASection, IXMLDOMCharacterData, IXMLDOMComment, IXMLDOMDocumentFragment, IXMLDOMDocumentType, IXMLDOMElement, IXMLDOMEntity, IXMLDOMEntityReference, IXMLDOMNode, IXMLDOMNotation, IXMLDOMProcessingInstruction, IXMLDOMText, and IXTLRuntime