Removes an attribute from the collection.
Visual Basic Syntax
Set objXMLDOMNode = oXMLDOMNamedNodeMap.removeNamedItem(name)
C/C++ Syntax
HRESULT removeNamedItem( BSTR name, IXMLDOMNode **namedItem);
Parameters
- name
- [in] Name of the attribute to remove from the collection.
- namedItem
- [out] Node removed from the collection. Returns NULL if the named node is not an attribute.
C/C++ Return Values
- S_OK
- Value returned if successful.
- S_FALSE
- Value when returning null.
- E_FAIL
- Value returned if an error occurs.