Freigeben über


WriteCharEntity

 

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.

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.

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

Requirements

Header: XmlLite.h

Library: XmlLite.lib

See Also

IXmlWriter Methods