Closes the attribute started with the XmlWriter.WriteStartAttribute(string, string) method.
Type Reason InvalidOperationException The XmlWriter.WriteState is not WriteState.Attribute.
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.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0