Method WriteRaw
- Namespace
- Alternet.FormDesigner.Wpf.XamlDom
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
WriteRaw(char[], int, int)
When overridden in a derived class, writes raw markup manually from a character buffer.
public override void WriteRaw(char[] buffer, int index, int count)
Parameters
buffer
char[]Character array containing the text to write.
index
intThe position within the buffer indicating the start of the text to write.
count
intThe number of characters to write.
Exceptions
- ArgumentNullException
buffer
is null.- ArgumentOutOfRangeException
index
orcount
is less than zero. -or-The buffer length minusindex
is less thancount
.- InvalidOperationException
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.”
WriteRaw(string)
When overridden in a derived class, writes raw markup manually from a string.
public override void WriteRaw(string data)
Parameters
data
stringString containing the text to write.
Exceptions
- ArgumentException
data
is either null or String.Empty.- InvalidOperationException
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.”