removeNamedItem method
[This documentation is preliminary and is subject to change.]
Removes an IHTMLDOMAttribute specified with the name property from an element by using the IHTMLAttributeCollection interface.
![]() |
Syntax
IHTMLDOMAttribute retVal = object.removeNamedItem(bstrName);
Standards information
Parameters
bstrName [in]
Type: BSTRA BSTR that specifies the name of an IHTMLDOMAttribute to remove.
Remarks
An IHTMLDOMAttribute that is removed with this method reverts to the default value of the IHTMLDOMAttribute when applicable. This method returns a script error if the user attempts to remove a non-existent attribute node.
removeNamedItem was introduced in Microsoft Internet Explorer 6.
Build date: 1/26/2012
.png)