Discuss this help topic in SecureBlackbox Forum

TElXMLDOMNamedNodeMap.SetNamedItem

TElXMLDOMNamedNodeMap     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Adds a node by its name.

Declaration

[C#]
    TElXMLDOMNode SetNamedItem(TElXMLDOMNode arg);

[VB.NET]
    Function SetNamedItem(ByVal arg As TElXMLDOMNode) As TElXMLDOMNode

[Pascal]
    function SetNamedItem(arg : TElXMLDOMNode) : TElXMLDOMNode;

[C++]
    TElXMLDOMNodeHandle SetNamedItem(TElXMLDOMNode &arg);
    TElXMLDOMNodeHandle SetNamedItem(TElXMLDOMNode *arg);

[PHP]
    TElXMLDOMNode SetNamedItem(TElXMLDOMNode $arg)

[Java]
    TElXMLDOMNode setNamedItem(TElXMLDOMNode arg);

Parameters

  • Arg - A node to add.

Description

    Use this method to add a node by its name. If there is a node with the same name, already in the list, it is replaced by arg, and the reference to the old node is returned. If there's no node with the same name, as in the node, the node is added and null/nil/Nothing value is returned.

See also:     GetNamedItem     SetNamedItemNS    

Discuss this help topic in SecureBlackbox Forum