Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
lookupPrefix

lookupPrefix method

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

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

 

Syntax


HRESULT retVal = object.lookupPrefix(pvarNamespaceURI, pvarprefix);

Parameters

pvarNamespaceURI [in]

Type: VARIANT

The URI.

pvarprefix [out, retval]

Type: VARIANT

The namespace prefix associated with the URI.

NULL

Default. Returned when no associated prefix 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::lookupNamespaceURI

 

 

Community Additions

ADD
Show:
© 2015 Microsoft