IResultSet.UpdateBinaryStream 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
UpdateBinaryStream(String, Stream, Int64) |
Updates the designated column with a binary stream value, which will have the specified number of bytes. |
UpdateBinaryStream(String, Stream, Int32) |
Updates the designated column with a binary stream value, which will have the specified number of bytes. |
UpdateBinaryStream(Int32, Stream, Int64) |
Updates the designated column with a binary stream value, which will have the specified number of bytes. |
UpdateBinaryStream(Int32, Stream, Int32) |
Updates the designated column with a binary stream value, which will have the specified number of bytes. |
UpdateBinaryStream(String, Stream) |
Updates the designated column with a binary stream value. |
UpdateBinaryStream(Int32, Stream) |
Updates the designated column with a binary stream value. |
UpdateBinaryStream(String, Stream, Int64)
Updates the designated column with a binary stream value, which will have the specified number of bytes.
[Android.Runtime.Register("updateBinaryStream", "(Ljava/lang/String;Ljava/io/InputStream;J)V", "GetUpdateBinaryStream_Ljava_lang_String_Ljava_io_InputStream_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateBinaryStream (string? columnLabel, System.IO.Stream? x, long length);
[<Android.Runtime.Register("updateBinaryStream", "(Ljava/lang/String;Ljava/io/InputStream;J)V", "GetUpdateBinaryStream_Ljava_lang_String_Ljava_io_InputStream_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateBinaryStream : string * System.IO.Stream * int64 -> unit
Parameters
- columnLabel
- String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
- x
- Stream
the new column value
- length
- Int64
the length of the stream
- Attributes
Exceptions
Remarks
Updates the designated column with a binary stream value, which will have the specified number of bytes.
The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow
or insertRow
methods are called to update the database.
Added in 1.6.
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
UpdateBinaryStream(String, Stream, Int32)
Updates the designated column with a binary stream value, which will have the specified number of bytes.
[Android.Runtime.Register("updateBinaryStream", "(Ljava/lang/String;Ljava/io/InputStream;I)V", "GetUpdateBinaryStream_Ljava_lang_String_Ljava_io_InputStream_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateBinaryStream (string? columnLabel, System.IO.Stream? x, int length);
[<Android.Runtime.Register("updateBinaryStream", "(Ljava/lang/String;Ljava/io/InputStream;I)V", "GetUpdateBinaryStream_Ljava_lang_String_Ljava_io_InputStream_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateBinaryStream : string * System.IO.Stream * int -> unit
Parameters
- columnLabel
- String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
- x
- Stream
the new column value
- length
- Int32
the length of the stream
- Attributes
Exceptions
if a database error happens.
Remarks
Updates the designated column with a binary stream value, which will have the specified number of bytes. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow
or insertRow
methods are called to update the database.
Added in 1.2.
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
UpdateBinaryStream(Int32, Stream, Int64)
Updates the designated column with a binary stream value, which will have the specified number of bytes.
[Android.Runtime.Register("updateBinaryStream", "(ILjava/io/InputStream;J)V", "GetUpdateBinaryStream_ILjava_io_InputStream_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateBinaryStream (int columnIndex, System.IO.Stream? x, long length);
[<Android.Runtime.Register("updateBinaryStream", "(ILjava/io/InputStream;J)V", "GetUpdateBinaryStream_ILjava_io_InputStream_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateBinaryStream : int * System.IO.Stream * int64 -> unit
Parameters
- columnIndex
- Int32
the first column is 1, the second is 2, ...
- x
- Stream
the new column value
- length
- Int64
the length of the stream
- Attributes
Exceptions
Remarks
Updates the designated column with a binary stream value, which will have the specified number of bytes.
The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow
or insertRow
methods are called to update the database.
Added in 1.6.
Java documentation for java.sql.ResultSet.updateBinaryStream(int, java.io.InputStream, 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
UpdateBinaryStream(Int32, Stream, Int32)
Updates the designated column with a binary stream value, which will have the specified number of bytes.
[Android.Runtime.Register("updateBinaryStream", "(ILjava/io/InputStream;I)V", "GetUpdateBinaryStream_ILjava_io_InputStream_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateBinaryStream (int columnIndex, System.IO.Stream? x, int length);
[<Android.Runtime.Register("updateBinaryStream", "(ILjava/io/InputStream;I)V", "GetUpdateBinaryStream_ILjava_io_InputStream_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateBinaryStream : int * System.IO.Stream * int -> unit
Parameters
- columnIndex
- Int32
the first column is 1, the second is 2, ...
- x
- Stream
the new column value
- length
- Int32
the length of the stream
- Attributes
Exceptions
if a database error happens.
Remarks
Updates the designated column with a binary stream value, which will have the specified number of bytes. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow
or insertRow
methods are called to update the database.
Added in 1.2.
Java documentation for java.sql.ResultSet.updateBinaryStream(int, java.io.InputStream, 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
UpdateBinaryStream(String, Stream)
Updates the designated column with a binary stream value.
[Android.Runtime.Register("updateBinaryStream", "(Ljava/lang/String;Ljava/io/InputStream;)V", "GetUpdateBinaryStream_Ljava_lang_String_Ljava_io_InputStream_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateBinaryStream (string? columnLabel, System.IO.Stream? x);
[<Android.Runtime.Register("updateBinaryStream", "(Ljava/lang/String;Ljava/io/InputStream;)V", "GetUpdateBinaryStream_Ljava_lang_String_Ljava_io_InputStream_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateBinaryStream : string * System.IO.Stream -> unit
Parameters
- columnLabel
- String
the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column
- x
- Stream
the new column value
- Attributes
Exceptions
Remarks
Updates the designated column with a binary stream value. The data will be read from the stream as needed until end-of-stream is reached.
The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow
or insertRow
methods are called to update the database.
<B>Note:</B> Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateBinaryStream
which takes a length parameter.
Added in 1.6.
Java documentation for java.sql.ResultSet.updateBinaryStream(java.lang.String, java.io.InputStream)
.
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
UpdateBinaryStream(Int32, Stream)
Updates the designated column with a binary stream value.
[Android.Runtime.Register("updateBinaryStream", "(ILjava/io/InputStream;)V", "GetUpdateBinaryStream_ILjava_io_InputStream_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateBinaryStream (int columnIndex, System.IO.Stream? x);
[<Android.Runtime.Register("updateBinaryStream", "(ILjava/io/InputStream;)V", "GetUpdateBinaryStream_ILjava_io_InputStream_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateBinaryStream : int * System.IO.Stream -> unit
Parameters
- columnIndex
- Int32
the first column is 1, the second is 2, ...
- x
- Stream
the new column value
- Attributes
Exceptions
Remarks
Updates the designated column with a binary stream value. The data will be read from the stream as needed until end-of-stream is reached.
The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow
or insertRow
methods are called to update the database.
<B>Note:</B> Consult your JDBC driver documentation to determine if it might be more efficient to use a version of updateBinaryStream
which takes a length parameter.
Added in 1.6.
Java documentation for java.sql.ResultSet.updateBinaryStream(int, java.io.InputStream)
.
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.