Closes an open element and pops the corresponding namespace scope.
Type Reason InvalidOperationException No element was open, or the XmlTextWriter.WriteState is WriteState.Closed.
If the open element does not contain content, it is closed as an empty element using " />"; otherwise an end element is written.
Note:This method overrides XmlWriter.WriteEndElement.
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0