Freigeben über


WriteEndElement

 

Closes one element. If the element contains no content, this method writes a short end tag ("/>"). Otherwise, this method writes the full end tag.

Syntax

  
HRESULT WriteEndElement ();  

Return Value

Returns S_OK if no error is generated.

Remarks

For an example of the WriteEndElement method, see Write an XML Document using XmlLite.

Requirements

Header: XmlLite.h

Library: XmlLite.lib

See Also

IXmlWriter Methods