Mono Class Library: System.Xml.XmlWriter Overview | Members

System.Xml.XmlWriter.WriteRaw Method

Writes raw text from a character array. [Edit]

public abstract void WriteRaw (char[] buffer, int index, int count)

Parameters

buffer
A char array containing the text to write. [Edit]
index
A int specifying the position within the array of the start of the text to write. [Edit]
count
A int specifying the number of characters to write. [Edit]

Exceptions

TypeReason
ArgumentNullExceptionbuffer is null. [Edit]
ArgumentExceptionThe buffer length minus index is less than count. [Edit]
ArgumentOutOfRangeExceptionindex or count is less than zero. [Edit]
InvalidOperationExceptionThe XmlWriter.WriteState is WriteState.Closed. [Edit]

Remarks

Operation
This method writes raw text from a character array. This method does not encode any characters.

Note to Inheritors
This method must be overridden in order to provide the functionality described above, as there is no default implementation.

[Edit]

Requirements

Namespace: System.Xml
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0