Mono Class Library: System.Xml.XmlNode Overview | Members

System.Xml.XmlNode.InsertBefore Method

Inserts a node before one of this node's children.

public virtual XmlNode InsertBefore (XmlNode newChild, XmlNode refChild)

Parameters

newChild
The node to insert.
refChild
The node before which the new node is placed.

Returns

The inserted node.

Remarks

refChild must be one of this node's children.

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0