Inserts the specified node immediately after the specified reference node.
[Visual Basic] Overridable Public Function InsertAfter( _ ByVal newChild As XmlNode, _ ByVal refChild As XmlNode _ ) As XmlNode [C#] public virtual XmlNode InsertAfter( XmlNode newChild, XmlNode refChild ); [C++] public: virtual XmlNode* InsertAfter( XmlNode* newChild, XmlNode* refChild ); [JScript] public function InsertAfter( newChild : XmlNode, refChild : XmlNode ) : XmlNode;
If refChild is null, insert newChild at the beginning of the list of children. If newChild is a XmlDocumentFragment object, all of its children are inserted, in the same order, after refChild. If the newChild is already in the tree, it is first removed.