Windows Dev Center

WriteCharEntity

Writes a character entity for the provided Unicode character value. This method writes the character entity in hexadecimal format.


HRESULT WriteCharEntity (WCHAR character);

character

The character to write.

Returns S_OK if no error is generated.

This method does not accept surrogate pairs. To write a surrogate pair, see WriteSurrogateCharEntity.

For an example of the WriteCharEntity method, see Writing an XML Document Using XmlLite.

Header: XmlLite.h

Library: XmlLite.lib

Show:
© 2015 Microsoft