System::Xml::XPath::XPathNavigator::InsertElementBefore method

XPathNavigator::InsertElementBefore method

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

virtual void System::Xml::XPath::XPathNavigator::InsertElementBefore(String prefix, String localName, String namespaceURI, String value)
ParameterTypeDescription
prefixStringThe namespace prefix of the new child element (if any).
localNameStringThe local name of the new child element (if any).
namespaceURIStringThe namespace URI of the new child element (if any). String::Empty and nullptr are equivalent.
valueStringThe value of the new child element. If String::Empty or nullptr are passed, an empty element is created.

See Also