LineWrappingTextWriterWrite(Char, Int32, Int32) Method

Writes a subarray of characters to the text stream.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public override void Write(
	char[] buffer,
	int index,
	int count
)

Parameters

buffer  Char
The character array to write data from.
index  Int32
The character position in the buffer at which to start retrieving data.
count  Int32
The number of characters to write.

Exceptions

ArgumentExceptionThe buffer length minus index is less than count.
ArgumentNullExceptionThe buffer parameter is .
ArgumentOutOfRangeExceptionindex or count is negative.
ObjectDisposedExceptionThe TextWriter is closed.
IOExceptionAn I/O error occurs.

See Also