WriteChars()
Contents
[
Hide
]XmlTextWriter::WriteChars(ArrayPtr<char16_t>, int32_t, int32_t) method
Writes text one buffer at a time.
void System::Xml::XmlTextWriter::WriteChars(ArrayPtr<char16_t> buffer, int32_t index, int32_t count) override
Arguments
| Parameter | Type | Description |
|---|---|---|
| buffer | ArrayPtr<char16_t> | Character array containing the text to write. |
| index | int32_t | The position in the buffer indicating the start of the text to write. |
| count | int32_t | The number of characters to write. |
Exceptions
| Exception | Description |
|---|---|
| ArgumentNullException | buffer is nullptr. |
| ArgumentOutOfRangeException | index or count is less than zero. The buffer length minus index is less than count; the call results in surrogate pair characters being split or an invalid surrogate pair being written. |
| InvalidOperationException | The XmlTextWriter::get_WriteState value is WriteState::Closed. |
See Also
- Typedef ArrayPtr
- Class XmlTextWriter
- Namespace System::Xml
- Library Aspose.Slides