System.Xml.XPath.XPathNavigator.InsertBefore Method

Creates a new sibling node before the currently selected node using the XML contents of the System.Xml.XmlReader object specified.

Syntax

public virtual void InsertBefore (System.Xml.XmlReader newSibling)

Parameters

newSibling
An System.Xml.XmlReader object positioned on the XML data for the new sibling node.

Remarks

The following are important notes to consider when using the XPathNavigator.InsertBefore(System.Xml.XmlReader) method.

Requirements

Namespace: System.Xml.XPath
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0