This topic has not yet been rated - Rate this topic

getNamedItemNS method

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

Gets an attribute that is specified with the name property and namespace, by using the attributes collection.

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

Syntax

var newretNode = attributes.getNamedItemNS(pvarNS, bstrname);

Standards information

Parameters

pvarNS [in]

Type: VARIANT

The namespace name of the attribute to get.

bstrname [in]

Type: BSTR

The local name of the desired attribute within the specified namespace.

newretNode [out, retval]

Type: IHTMLDOMAttribute

Returns an attribute with the specified name.

Return value

Type: HRESULT

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

Type: ObjectReturns an attribute with the specified name.

See also

attributes
getNamedItem

 

 

Build date: 2/14/2012

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