WriteCharEntity (IXmlWriterLite)
Writes a character entity for the provided Unicode character value. This method writes the character entity in hexadecimal format.
Syntax
HRESULT WriteCharEntity (WCHAR character);
Arguments
character
The character to write, as UTF-16LE in the Basic Multilingual Plane.
Return Value
Returns S_OK if no error is generated.
Remarks
This method does not accept surrogate pairs. To write a surrogate pair, see WriteSurrogateCharEntity (IXmlWriterLite).
For an example of the WriteCharEntity
method, see Write an XML Document using XmlLite.
Requirements
Header: XmlLite.h
Library: XmlLite.lib