When overridden in a derived class, writes out a start tag with the specified local name.
localName The local name of the element.
TypeReasonInvalidOperationExceptionThe XmlWriter.WriteState is WriteState.Closed.
For the asynchronous version of this method, see XmlWriter.WriteStartElementAsync(string).