removeNamedItem Method (Windows CE 5.0)

Send Feedback

Removes an attribute from the collection.

[Script]

Script Syntax

varobjXMLDOMNode = oXMLDOMNamedNodeMap.removeNamedItem(name);

Script Parameters

  • name
    String specifying the name of the attribute to remove from the collection.

Script Return Value

Object. Returns the node removed from the collection. Returns Null if the named node is not an attribute.

[C/C++]

C/C++ Syntax

HRESULT removeNamedItem(BSTRname,IXMLDOMNode** namedItem);

C/C++ Parameters

  • name
    [in] Name of the attribute to remove from the collection.
  • namedItem
    [out, retval] 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.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Msxml2.h, Msxml2.idl.
Link Library: Uuid.lib.

General Remarks

This method applies to the following interface:

IXMLDOMNamedNodeMap.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.