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

System.Xml.XmlTextWriter.WriteRaw Method

Writes raw text from a character array. [Edit]

public override 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]
ArgumentOutOfRangeException

index or count is less than zero.

- or -

The buffer length minus index is less than count.

[Edit]
InvalidOperationExceptionThe XmlTextWriter.WriteState is WriteState.Closed. [Edit]

Remarks

This method does not encode any characters.

Note:

This method overrides XmlWriter.WriteRaw(Char[], int, int).

[Edit]

Requirements

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