Mono Class Library: System.Xml.XmlWriter Overview | MembersSystem.Xml.XmlWriter.WriteChars Method |
Writes text a buffer at a time. [Edit]
|
Type Reason ArgumentNullException buffer is null. [Edit] ArgumentException The buffer length minus index is less than count. [Edit] ArgumentOutOfRangeException index or count is less than zero. [Edit] InvalidOperationException The XmlWriter.WriteState is WriteState.Closed. [Edit]
Operation
As described above.Note to Inheritors
When overriding this method, throw an exception if surrogate pair characters would be split across multiple buffer writes. This exception must be caught in order to continue writing the next surrogate pair characters. The XML specification defines the valid ranges for surrogate pairs.
This method must be overridden in order to provide the functionality described above, as there is no default implementation.
[Edit]
Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0