Java.IO.Writer.Write Method
Writes count characters from str starting at offset to the target.

Syntax

[Android.Runtime.Register("write", "(Ljava/lang/String;II)V", "GetWrite_Ljava_lang_String_IIHandler")]
public virtual void Write (string str, int offset, int count)

Parameters

str
the non-null string containing the characters to write.
offset
the index of the first character in str to write.
count
the number of characters from str to write.

Exceptions

TypeReason
Java.IO.IOExceptionif this writer is closed or another I/O error occurs.
Java.Lang.IndexOutOfBoundsExceptionif offset or count , or if offset + count is greater than the length of str.

Remarks

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

[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