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

System.Xml.XmlWriter.WriteEndAttribute Method

Closes the attribute started with the XmlWriter.WriteStartAttribute(string, string) method. [Edit]

public abstract void WriteEndAttribute ()

Exceptions

TypeReason
InvalidOperationExceptionThe XmlWriter.WriteState is not WriteState.Attribute. [Edit]

Remarks

Operation
As described above.

Note to Inheritors
Override the XmlWriter.WriteStartAttribute(string, string), XmlWriter.WriteAttributeString(string, string, string), and XmlWriter.WriteEndElement methods so these methods also close any attributes that are open when they are called.

[Edit]

Requirements

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