Partager via


WriteFullEndElement (Compact 7)

3/12/2014

This method closes one element and pops the corresponding namespace scope. This method always writes the full end tag.

Syntax

HRESULT WriteFullEndElement ();

Return Value

This method returns S_OK if no error is generated.

Remarks

Use this method if it is important to guarantee a full end tag. For example, you might use this method if you are writing an HTML <script> element. In HTML, a script block must be always be closed with the full end tag </script> so that browsers can correctly interpret the block.

See Also

Reference

IXmlWriter Methods
IXmlWriter Properties