IRowSet.SetNCharacterStream Method
Definition
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.
Overloads
SetNCharacterStream(Int32, Reader) |
Sets the designated parameter in this |
SetNCharacterStream(String, Reader) |
Sets the designated parameter to a |
SetNCharacterStream(Int32, Reader, Int64) |
Sets the designated parameter to a |
SetNCharacterStream(String, Reader, Int64) |
Sets the designated parameter to a |
SetNCharacterStream(Int32, Reader)
Sets the designated parameter in this RowSet
object's command
to a Reader
object.
[Android.Runtime.Register("setNCharacterStream", "(ILjava/io/Reader;)V", "GetSetNCharacterStream_ILjava_io_Reader_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetNCharacterStream (int parameterIndex, Java.IO.Reader? value);
[<Android.Runtime.Register("setNCharacterStream", "(ILjava/io/Reader;)V", "GetSetNCharacterStream_ILjava_io_Reader_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetNCharacterStream : int * Java.IO.Reader -> unit
Parameters
- parameterIndex
- Int32
of the first parameter is 1, the second is 2, ...
- value
- Reader
the parameter value
- Attributes
Exceptions
if an error occurs accessing the database.
Remarks
Sets the designated parameter in this RowSet
object's command to a Reader
object. The Reader
reads the data till end-of-file is reached. The driver does the necessary conversion from Java character format to the national character set in the database.
<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 setNCharacterStream
which takes a length parameter.
Added in 1.6.
Java documentation for javax.sql.RowSet.setNCharacterStream(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.
Applies to
SetNCharacterStream(String, Reader)
Sets the designated parameter to a Reader
object.
[Android.Runtime.Register("setNCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;)V", "GetSetNCharacterStream_Ljava_lang_String_Ljava_io_Reader_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetNCharacterStream (string? parameterName, Java.IO.Reader? value);
[<Android.Runtime.Register("setNCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;)V", "GetSetNCharacterStream_Ljava_lang_String_Ljava_io_Reader_Handler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetNCharacterStream : string * Java.IO.Reader -> unit
Parameters
- parameterName
- String
the name of the parameter
- value
- Reader
the parameter value
- Attributes
Exceptions
if an error occurs accessing the database.
Remarks
Sets the designated parameter to a Reader
object. The Reader
reads the data till end-of-file is reached. The driver does the necessary conversion from Java character format to the national character set in the database.
<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 setNCharacterStream
which takes a length parameter.
Added in 1.6.
Java documentation for javax.sql.RowSet.setNCharacterStream(java.lang.String, 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.
Applies to
SetNCharacterStream(Int32, Reader, Int64)
Sets the designated parameter to a Reader
object.
[Android.Runtime.Register("setNCharacterStream", "(ILjava/io/Reader;J)V", "GetSetNCharacterStream_ILjava_io_Reader_JHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetNCharacterStream (int parameterIndex, Java.IO.Reader? value, long length);
[<Android.Runtime.Register("setNCharacterStream", "(ILjava/io/Reader;J)V", "GetSetNCharacterStream_ILjava_io_Reader_JHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetNCharacterStream : int * Java.IO.Reader * int64 -> unit
Parameters
- parameterIndex
- Int32
of the first parameter is 1, the second is 2, ...
- value
- Reader
the parameter value
- length
- Int64
the number of characters in the parameter data.
- Attributes
Exceptions
if an error occurs accessing the database.
Remarks
Sets the designated parameter to a Reader
object. The Reader
reads the data till end-of-file is reached. The driver does the necessary conversion from Java character format to the national character set in the database.
Added in 1.6.
Java documentation for javax.sql.RowSet.setNCharacterStream(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.
Applies to
SetNCharacterStream(String, Reader, Int64)
Sets the designated parameter to a Reader
object.
[Android.Runtime.Register("setNCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;J)V", "GetSetNCharacterStream_Ljava_lang_String_Ljava_io_Reader_JHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetNCharacterStream (string? parameterName, Java.IO.Reader? value, long length);
[<Android.Runtime.Register("setNCharacterStream", "(Ljava/lang/String;Ljava/io/Reader;J)V", "GetSetNCharacterStream_Ljava_lang_String_Ljava_io_Reader_JHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetNCharacterStream : string * Java.IO.Reader * int64 -> unit
Parameters
- parameterName
- String
the name of the column to be set
- value
- Reader
the parameter value
- length
- Int64
the number of characters in the parameter data.
- Attributes
Exceptions
if an error occurs accessing the database.
Remarks
Sets the designated parameter to a Reader
object. The Reader
reads the data till end-of-file is reached. The driver does the necessary conversion from Java character format to the national character set in the database.
Added in 1.6.
Java documentation for javax.sql.RowSet.setNCharacterStream(java.lang.String, 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.