Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

setNamedItemNS method

Adds an IHTMLDOMAttribute object to an element by using its IHTMLDOMNode3::namespaceURI and IHTMLDOMNode3::localName properties.

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

Syntax


HRESULT retVal = object.setNamedItemNS(pAttrNode, ppNodeOut);

Parameters

pAttrNode [in]

Type: IHTMLDOMAttribute2

The IHTMLDOMAttribute object to add.

ppNodeOut [out, retval]

Type: IHTMLDOMAttribute2

The IHTMLDOMAttribute node that the pAttrNode node replaces, or a NULL value.

Return value

Type: HRESULT

This method can return one of these values.

Return codeDescription
S_OK

The operation completed successfully.

 

Standards information

See also

IHTMLAttributeCollection4::setNamedItem

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.