Mono Class Library: System.Xml.XmlWriter Overview | MembersSystem.Xml.XmlWriter.WriteEndElement Method |
Closes an open element and pops the corresponding namespace scope. [Edit]
|
Type Reason InvalidOperationException No element was open, or the XmlWriter.WriteState is WriteState.Closed. [Edit]
Operation
This method closes one element and pops the corresponding namespace scope. If the open element does not contain content, it is closed as an empty element using " />"; otherwise an end element is written.Note to Inheritors
This method must be overridden in order to provide the functionality described above, as there is no default implementation. [Edit]
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0