EndElement Method
Finishes the current composite data element.
Syntax
int EndElement();
Remarks
Call EndElement once you've written all components in an element started with StartElement. You should not call this if you wrote a simple element using WriteElementString