Java.Sql.IPreparedStatement.SetCharacterStream Method
Sets the value of a specified parameter to the character content of a Reader object, with the specified length of character data.

Syntax

[Android.Runtime.Register("setCharacterStream", "(ILjava/io/Reader;I)V", "GetSetCharacterStream_ILjava_io_Reader_IHandler:Java.Sql.IPreparedStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetCharacterStream (int parameterIndex, Java.IO.Reader reader, int length)

Parameters

parameterIndex
the parameter number index, where the first parameter has index 1
reader
the java.io.Reader containing the character data.
length
the number of characters to be read.

Exceptions

TypeReason
Java.Sql.SQLExceptionif a database error happens.

Remarks

Sets the value of a specified parameter to the character content of a Reader object, with the specified length of character data.

Data is read from the Reader until end-of-file is reached or the specified number of characters are copied.

[Android Documentation]

Requirements

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