Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
setNamedItemNS
Collapse the table of content
Expand the table of content

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft