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

System.Xml.XmlWriter.WriteStartElement Method

Writes a start element with the specified name. [Edit]

public void WriteStartElement (string localName)

Parameters

localName
A string specifying the local name of the element. [Edit]

Exceptions

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

Remarks

This method calls XmlWriter.WriteStartElement(string, string)(null, localName, null). [Edit]

Requirements

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