Sdílet prostřednictvím


PrintWriter.Write(Char[], Int32, Int32) Method

Definition

Writes A Portion of an array of characters.

[Android.Runtime.Register("write", "([CII)V", "GetWrite_arrayCIIHandler")]
public override void Write (char[]? buf, int off, int len);
[<Android.Runtime.Register("write", "([CII)V", "GetWrite_arrayCIIHandler")>]
override this.Write : char[] * int * int -> unit

Parameters

buf
Char[]

Array of characters

off
Int32

Offset from which to start writing characters

len
Int32

Number of characters to write

Attributes

Exceptions

if offset or count , or if offset + count is greater than the length of buf.

Remarks

Writes A Portion of an array of characters.

Java documentation for java.io.PrintWriter.write(char[], int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to