This topic has not yet been rated - Rate this topic

lookupPrefix method

[This documentation is preliminary and is subject to change.]

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

object.lookupPrefix(pvarNamespaceURI, )

Standards information

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.

Type: Variant

The namespace prefix associated with the URI.

NULL

Default. Returned when no associated prefix is found.

See also

a
applet
attribute
audio
button
div
document
documentType
frame
iframe
img
input type=button
input type=checkbox
input type=file
input type=hidden
input type=image
input type=password
input type=radio
input type=reset
input type=submit
input type=text
label
legend
marquee
media
object
optGroup
option
select
source
span
table
textArea
TextNode
video
lookupNamespaceURI

 

 

Build date: 2/14/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ