XPathNavigator.InsertElementAfter Method

Creates a new sibling element after the current node using the namespace prefix, local name and namespace URI specified, with the value specified.

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

public virtual void InsertElementAfter(
	string prefix,
	string localName,
	string namespaceURI,
	string value
)

Parameters

prefix
Type: System.String
The namespace prefix of the new child element (if any).
localName
Type: System.String
The local name of the new child element (if any).
namespaceURI
Type: System.String
The namespace URI of the new child element (if any). Empty and null are equivalent.
value
Type: System.String
The value of the new child element. If Empty or null are passed, an empty element is created.

Silverlight

Supported in: 5, 4

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

Community Additions

ADD
Show: