Retrieves the attribute with the specified name.
Visual Basic Syntax
Set objXMLDOMNode = oXMLDOMNamedNodeMap.getNamedItem(name)
C/C++ Syntax
HRESULT getNamedItem( BSTR name, IXMLDOMNode **namedItem);
Parameters
- name
- [in] Name of the attribute.
- namedItem
- [out] IXMLDOMNode object for the specified attribute. Returns NULL if the attribute node is not in this collection.
C/C++ Return Values
- S_OK
- Value returned if successful.
- S_FALSE
- Value when returning null.
- E_INVALIDARG
- Value returned if namedItem is null.