Mono Class Library: System.Xml.XmlWriter Overview | Members

System.Xml.XmlWriter.WriteElementString Method

Writes an element with the specified local name and value. [Edit]

public void WriteElementString (string localName, string value)

Parameters

localName
A string specifying the local name of the element. [Edit]
value
A string specifying the value of the element. [Edit]
value
Documentation for this section has not yet been entered. [Edit]

Exceptions

TypeReason
InvalidOperationExceptionThe XmlWriter.WriteState is WriteState.Closed. [Edit]

Remarks

This method is equivalent to XmlWriter.WriteElementString(string, string)(localName, null, value). [Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0