NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlNode.InsertAfter

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;

Parameters

newChild
XmlNode to insert.
refChild
XmlNode that is the reference node. The newNode is placed after the refNode.

Remarks

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.

See Also

XmlNode Class | XmlNode Members | System.NewXml Namespace