lookupNamespaceURI
Collapse the table of content
Expand the table of content

lookupNamespaceURI method

Gets the Uniform Resource Identifier (URI) of the namespace associated with a namespace prefix, if any.

Document Object Model (DOM) Level 3 Core Specification, Section 1.2Internet Explorer 9

 

Syntax


HRESULT retVal = object.lookupNamespaceURI(pvarPrefix, pvarNamespaceURI);

Parameters

pvarPrefix [in]

Type: VARIANT

The prefix.

pvarNamespaceURI [out, retval]

Type: VARIANT

The URI of the namespace.

NULL

Default. Returned when no URI is found.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Standards information

See also

IHTMLDOMNode3::lookupPrefix

 

 

Show:
© 2016 Microsoft