Freigeben über


XPathNavigator.InsertBefore Method (String)

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

Creates a new sibling node before the currently selected node using the XML string specified.

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

Syntax

'Declaration
Public Overridable Sub InsertBefore ( _
    newSibling As String _
)
public virtual void InsertBefore(
    string newSibling
)

Parameters

  • newSibling
    Type: System.String
    The XML data string for the new sibling 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.