Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
SetCharacterStream(Int32, Reader) |
Sets the designated parameter to the given |
SetCharacterStream(Int32, Reader, Int32) |
Sets the designated parameter to the given |
SetCharacterStream(Int32, Reader, Int64) |
Sets the designated parameter to the given |
Sets the designated parameter to the given Reader
object.
[Android.Runtime.Register("setCharacterStream", "(ILjava/io/Reader;)V", "GetSetCharacterStream_ILjava_io_Reader_Handler:Java.Sql.IPreparedStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetCharacterStream(int parameterIndex, Java.IO.Reader? reader);
[<Android.Runtime.Register("setCharacterStream", "(ILjava/io/Reader;)V", "GetSetCharacterStream_ILjava_io_Reader_Handler:Java.Sql.IPreparedStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetCharacterStream : int * Java.IO.Reader -> unit
the first parameter is 1, the second is 2, ...
the java.io.Reader
object that contains the
Unicode data
if a database error happens.
Sets the designated parameter to the given Reader
object. When a very large UNICODE value is input to a LONGVARCHAR
parameter, it may be more practical to send it via a java.io.Reader
object. The data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.
<B>Note:</B> This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.
<B>Note:</B> Consult your JDBC driver documentation to determine if it might be more efficient to use a version of setCharacterStream
which takes a length parameter.
Added in 1.6.
Java documentation for java.sql.PreparedStatement.setCharacterStream(int, java.io.Reader)
.
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.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sets the designated parameter to the given Reader
object, which is the given number of characters long.
[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);
[<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")>]
abstract member SetCharacterStream : int * Java.IO.Reader * int -> unit
the first parameter is 1, the second is 2, ...
the java.io.Reader
object that contains the
Unicode data
the number of characters in the stream
if a database error happens.
Sets the designated parameter to the given Reader
object, which is the given number of characters long. When a very large UNICODE value is input to a LONGVARCHAR
parameter, it may be more practical to send it via a java.io.Reader
object. The data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.
<B>Note:</B> This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.
Added in 1.2.
Java documentation for java.sql.PreparedStatement.setCharacterStream(int, java.io.Reader, 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.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Sets the designated parameter to the given Reader
object, which is the given number of characters long.
[Android.Runtime.Register("setCharacterStream", "(ILjava/io/Reader;J)V", "GetSetCharacterStream_ILjava_io_Reader_JHandler:Java.Sql.IPreparedStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetCharacterStream(int parameterIndex, Java.IO.Reader? reader, long length);
[<Android.Runtime.Register("setCharacterStream", "(ILjava/io/Reader;J)V", "GetSetCharacterStream_ILjava_io_Reader_JHandler:Java.Sql.IPreparedStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetCharacterStream : int * Java.IO.Reader * int64 -> unit
the first parameter is 1, the second is 2, ...
the java.io.Reader
object that contains the
Unicode data
the number of characters in the stream
if a database error happens.
Sets the designated parameter to the given Reader
object, which is the given number of characters long. When a very large UNICODE value is input to a LONGVARCHAR
parameter, it may be more practical to send it via a java.io.Reader
object. The data will be read from the stream as needed until end-of-file is reached. The JDBC driver will do any necessary conversion from UNICODE to the database char format.
<B>Note:</B> This stream object can either be a standard Java stream object or your own subclass that implements the standard interface.
Added in 1.6.
Java documentation for java.sql.PreparedStatement.setCharacterStream(int, java.io.Reader, long)
.
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.
Product | Versions |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35, .NET for Android API 36 |
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in