AppendChildElement()

XPathNavigator::AppendChildElement(String, String, String, String) method

Creates a new child element node at the end of the list of child nodes of the current node using the namespace prefix, local name and namespace URI specified with the value specified.

virtual void System::Xml::XPath::XPathNavigator::AppendChildElement(String prefix, String localName, String namespaceURI, String value)

Arguments

ParameterTypeDescription
prefixStringThe namespace prefix of the new child element node (if any).
localNameStringThe local name of the new child element node (if any).
namespaceURIStringThe namespace URI of the new child element node (if any). String::Empty and nullptr are equivalent.
valueStringThe value of the new child element node. If String::Empty or nullptr are passed, an empty element is created.

See Also