Click to return to the XML (Extensible Markup Language) home page    
IXMLDOMNamedNodeMap::getQ...     IXMLDOMNamedNodeMap Inter...    
Web Workshop  |  XML (Extensible Markup Language)

IXMLDOMNamedNodeMap::getNamedItem Method


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.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.