Writer. Write Char Entity(Char) Method
When overridden in a derived class, forces the generation of a character entity for the specified Unicode character value.
public: abstract void WriteCharEntity(char ch);
public abstract void WriteCharEntity (char ch);
abstract member WriteCharEntity : char -> unit
Public MustOverride Sub WriteCharEntity (ch As Char)
The Unicode character for which to generate a character entity.
The character is in the surrogate pair character range,
An XmlWriter method was called before a previous asynchronous operation finished. In this case, InvalidOperationException is thrown with the message "An asynchronous operation is already in progress."
See XmlTextWriter.WriteCharEntity for an example using this method.
This method writes the Unicode character in hexadecimal character entity reference format.
For the asynchronous version of this method, see WriteCharEntityAsync.