IResultSet.UpdateBlob 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
UpdateBlob(Int32, IBlob) |
Updates the designated column with a |
UpdateBlob(Int32, Stream) |
Updates the designated column using the given input stream. |
UpdateBlob(String, IBlob) |
Updates the designated column with a |
UpdateBlob(String, Stream) |
Updates the designated column using the given input stream. |
UpdateBlob(Int32, Stream, Int64) |
Updates the designated column using the given input stream, which will have the specified number of bytes. |
UpdateBlob(String, Stream, Int64) |
Updates the designated column using the given input stream, which will have the specified number of bytes. |
UpdateBlob(Int32, IBlob)
Updates the designated column with a java.sql.Blob
value.
[Android.Runtime.Register("updateBlob", "(ILjava/sql/Blob;)V", "GetUpdateBlob_ILjava_sql_Blob_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateBlob (int columnIndex, Java.Sql.IBlob? x);
[<Android.Runtime.Register("updateBlob", "(ILjava/sql/Blob;)V", "GetUpdateBlob_ILjava_sql_Blob_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateBlob : int * Java.Sql.IBlob -> unit
Parameters
- columnIndex
- Int32
the first column is 1, the second is 2, ...
- x
- IBlob
the new column value
- Attributes
Exceptions
if a database error happens.
Remarks
Updates the designated column with a java.sql.Blob
value. 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.4.
Java documentation for java.sql.ResultSet.updateBlob(int, java.sql.Blob)
.
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
UpdateBlob(Int32, Stream)
Updates the designated column using the given input stream.
[Android.Runtime.Register("updateBlob", "(ILjava/io/InputStream;)V", "GetUpdateBlob_ILjava_io_InputStream_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateBlob (int columnIndex, System.IO.Stream? inputStream);
[<Android.Runtime.Register("updateBlob", "(ILjava/io/InputStream;)V", "GetUpdateBlob_ILjava_io_InputStream_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateBlob : int * System.IO.Stream -> unit
Parameters
- columnIndex
- Int32
the first column is 1, the second is 2, ...
- inputStream
- Stream
An object that contains the data to set the parameter value to.
- Attributes
Exceptions
Remarks
Updates the designated column using the given input stream. 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 updateBlob
which takes a length parameter.
Added in 1.6.
Java documentation for java.sql.ResultSet.updateBlob(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.
Applies to
UpdateBlob(String, IBlob)
Updates the designated column with a java.sql.Blob
value.
[Android.Runtime.Register("updateBlob", "(Ljava/lang/String;Ljava/sql/Blob;)V", "GetUpdateBlob_Ljava_lang_String_Ljava_sql_Blob_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateBlob (string? columnLabel, Java.Sql.IBlob? x);
[<Android.Runtime.Register("updateBlob", "(Ljava/lang/String;Ljava/sql/Blob;)V", "GetUpdateBlob_Ljava_lang_String_Ljava_sql_Blob_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateBlob : string * Java.Sql.IBlob -> 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
- IBlob
the new column value
- Attributes
Exceptions
if a database error happens.
Remarks
Updates the designated column with a java.sql.Blob
value. 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.4.
Java documentation for java.sql.ResultSet.updateBlob(java.lang.String, java.sql.Blob)
.
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
UpdateBlob(String, Stream)
Updates the designated column using the given input stream.
[Android.Runtime.Register("updateBlob", "(Ljava/lang/String;Ljava/io/InputStream;)V", "GetUpdateBlob_Ljava_lang_String_Ljava_io_InputStream_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateBlob (string? columnLabel, System.IO.Stream? inputStream);
[<Android.Runtime.Register("updateBlob", "(Ljava/lang/String;Ljava/io/InputStream;)V", "GetUpdateBlob_Ljava_lang_String_Ljava_io_InputStream_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateBlob : 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
- inputStream
- Stream
An object that contains the data to set the parameter value to.
- Attributes
Exceptions
Remarks
Updates the designated column using the given input stream. 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 updateBlob
which takes a length parameter.
Added in 1.6.
Java documentation for java.sql.ResultSet.updateBlob(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
UpdateBlob(Int32, Stream, Int64)
Updates the designated column using the given input stream, which will have the specified number of bytes.
[Android.Runtime.Register("updateBlob", "(ILjava/io/InputStream;J)V", "GetUpdateBlob_ILjava_io_InputStream_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateBlob (int columnIndex, System.IO.Stream? inputStream, long length);
[<Android.Runtime.Register("updateBlob", "(ILjava/io/InputStream;J)V", "GetUpdateBlob_ILjava_io_InputStream_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateBlob : int * System.IO.Stream * int64 -> unit
Parameters
- columnIndex
- Int32
the first column is 1, the second is 2, ...
- inputStream
- Stream
An object that contains the data to set the parameter value to.
- length
- Int64
the number of bytes in the parameter data.
- Attributes
Exceptions
Remarks
Updates the designated column using the given input stream, 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.updateBlob(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
UpdateBlob(String, Stream, Int64)
Updates the designated column using the given input stream, which will have the specified number of bytes.
[Android.Runtime.Register("updateBlob", "(Ljava/lang/String;Ljava/io/InputStream;J)V", "GetUpdateBlob_Ljava_lang_String_Ljava_io_InputStream_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateBlob (string? columnLabel, System.IO.Stream? inputStream, long length);
[<Android.Runtime.Register("updateBlob", "(Ljava/lang/String;Ljava/io/InputStream;J)V", "GetUpdateBlob_Ljava_lang_String_Ljava_io_InputStream_JHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateBlob : 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
- inputStream
- Stream
An object that contains the data to set the parameter value to.
- length
- Int64
the number of bytes in the parameter data.
- Attributes
Exceptions
Remarks
Updates the designated column using the given input stream, 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.updateBlob(java.lang.String, 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.