Closes the attribute started with the XmlTextWriter.WriteStartAttribute(string, string, string) method.
Type Reason InvalidOperationException The XmlTextWriter.WriteState is notWriteState.Attribute.
Note:The XmlTextWriter.WriteStartAttribute(string, string, string) and XmlTextWriter.WriteEndElement methods also will close an open attribute if one exists when they are called.
This method overrides XmlWriter.WriteEndAttribute.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0