EndElement Method
Writes the closing tag of an open XML element.
Syntax
[VB.NET] Public Sub EndElement()
[C#] public void EndElement();
Remarks
Writes the closing tag of the XML element most recently opened using StartElement.
If no elements are opened, the call throws an exception