Java.IO.PrintWriter.Write Method
Writes count characters from buffer starting at offset to the target.

Syntax

[Android.Runtime.Register("write", "([CII)V", "GetWrite_arrayCIIHandler")]
public override void Write (char[] buf, int offset, int count)

Parameters

buf
the buffer to write to the target.
offset
the index of the first character in buffer to write.
count
the number of characters in buffer to write.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif offset or count , or if offset + count is greater than the length of buf.

Remarks

Writes count characters from buffer starting at offset to the target.

This writer's error flag is set to true if this writer is closed or an I/O error occurs.

[Android Documentation]

Requirements

Namespace: Java.IO
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1