WriteRaw()
XmlWriter::WriteRaw(ArrayPtr<char16_t>, int32_t, int32_t) method
When overridden in a derived class, writes raw markup manually from a character buffer.
virtual void System::Xml::XmlWriter::WriteRaw(ArrayPtr<char16_t> buffer, int32_t index, int32_t count)=0
Arguments
| Parameter | Type | Description |
|---|
| buffer | ArrayPtr<char16_t> | Character array containing the text to write. |
| index | int32_t | The position within 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. or The buffer length minus index is less than count. |
XmlWriter::WriteRaw(const String&) method
When overridden in a derived class, writes raw markup manually from a string.
virtual void System::Xml::XmlWriter::WriteRaw(const String &data)=0
Arguments
| Parameter | Type | Description |
|---|
| data | const String& | String containing the text to write. |
Exceptions
| Exception | Description |
|---|
| ArgumentException | data is either nullptr or String::Empty. |
See Also