Discuss this help topic in SecureBlackbox Forum

TElXMLDOMNode.InsertBefore

TElXMLDOMNode     See also     


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


Inserts the specified node to the list of child nodes, before the specified node.

Declaration

[C#/Java]
    TElXMLDOMNode InsertBefore(TElXMLDOMNode NewChild, TElXMLDOMNode RefChild);

[VB.NET]
    Function InsertBefore(ByVal NewChild As TElXMLDOMNode, ByVal RefChild As TElXMLDOMNode) As TElXMLDOMNode

[Pascal]
    function InsertBefore(NewChild : TElXMLDOMNode, RefChild : TElXMLDOMNode) : TElXMLDOMNode;

Parameters

  • NewChild - The node to be added.
  • RefChild - The node, before which NewChild is inserted.

Description

    Use this method to add a node the child nodes list. New node is placed before existing child node, referenced by RefNode. The method returns the reference to the added node.

See also:     ChildNodes     RemoveChild    

Discuss this help topic in SecureBlackbox Forum