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

IXMLDOMNamedNodeMap::removeNamedItem Method


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. 



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.