WriteChars (Compact 2013)
3/26/2014
This method writes out the specified text content, escaping markup.
Syntax
HRESULT WriteChars (
const WCHAR* characters,
UINT count
);
Arguments
- characters
The characters to write. NULL is valid only if count is zero.
- count
The number of characters to be written.
Return Value
This method returns S_OK if no error is generated.
Remarks
If characters is NULL, this method writes out the text without data content.
Surrogate pair characters cannot be split across multiple buffer writes when the WriteChars method is called. Therefore, surrogate pairs require special handling. The XML specification defines the valid ranges for surrogate pairs.