Writes an element with the specified prefix, local name, namespace URI, and value.
prefix The prefix of the element.localName The local name of the element.ns The namespace URI of the element.value The value of the element.
For the asynchronous version of this method, see XmlWriter.WriteElementStringAsync(string, string, string, string).