Writes an element with the specified local name and value.
Type Reason InvalidOperationException The XmlWriter.WriteState is WriteState.Closed.
This method is equivalent to XmlWriter.WriteElementString(string, string)(localName, null, value).
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0