Discuss this help topic in SecureBlackbox Forum

TElXMLDOMNamedNodeMap.SetNamedItem

TElXMLDOMNamedNodeMap     See also     


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


Adds a node by it's name.

Declaration

[C#/Java]
    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)

Parameters

  • Arg - A node to add.

Description

    Use this method to add a node by it's 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