Partilhar via


XPathNavigator.InsertBefore Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Returns an XmlWriter object used to create a new sibling node before the currently selected node.

Namespace:  System.Xml.XPath
Assembly:  System.Xml.XPath (in System.Xml.XPath.dll)

Syntax

'Declaration
Public Overridable Function InsertBefore As XmlWriter
public virtual XmlWriter InsertBefore()

Return Value

Type: System.Xml.XmlWriter
An XmlWriter object used to create a new sibling node before the currently selected node.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.