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

System.Xml.XmlWriter.WriteStartAttribute Method

Writes the start of an attribute.

public void WriteStartAttribute (string localName, string ns)

Parameters

localName
A string specifying the local name of the attribute.
ns
A string specifying the namespace URI of the attribute.
ns
Documentation for this section has not yet been entered.

Exceptions

TypeReason
InvalidOperationExceptionThe XmlWriter.WriteState is WriteState.Closed.

Remarks

This method calls XmlWriter.WriteStartAttribute(string, string)(null, localName, ns).

Requirements

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