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
bufferchar[]Character array containing the text to write.
indexintThe position within the buffer indicating the start of the text to write.
countintThe number of characters to write.
Exceptions
- ArgumentNullException
bufferis null.- ArgumentOutOfRangeException
indexorcountis less than zero. -or-The buffer length minusindexis 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
datastringString containing the text to write.
Exceptions
- ArgumentException
datais 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.”