Compartilhar via


setNamedItemNS method

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

 

Syntax

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

Parameters

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
S_OK

The operation completed successfully.

 

Standards information

See also

IHTMLAttributeCollection4::setNamedItem