ICallableStatement.GetBlob Method

Definition

Overloads

GetBlob(Int32)

Retrieves the value of the designated JDBC <code>BLOB</code> parameter as a java.sql.Blob object in the Java programming language.

GetBlob(String)

Retrieves the value of a JDBC <code>BLOB</code> parameter as a java.sql.Blob object in the Java programming language.

GetBlob(Int32)

Retrieves the value of the designated JDBC <code>BLOB</code> parameter as a java.sql.Blob object in the Java programming language.

[Android.Runtime.Register("getBlob", "(I)Ljava/sql/Blob;", "GetGetBlob_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.IBlob? GetBlob (int parameterIndex);
[<Android.Runtime.Register("getBlob", "(I)Ljava/sql/Blob;", "GetGetBlob_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetBlob : int -> Java.Sql.IBlob

Parameters

parameterIndex
Int32

the first parameter is 1, the second is 2, and so on

Returns

IBlob

the parameter value as a <code>Blob</code> object in the Java programming language. If the value was SQL <code>NULL</code>, the value <code>null</code> is returned.

Attributes

Exceptions

if a database error occurs.

Remarks

Java documentation for java.sql.CallableStatement.getBlob(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

GetBlob(String)

Retrieves the value of a JDBC <code>BLOB</code> parameter as a java.sql.Blob object in the Java programming language.

[Android.Runtime.Register("getBlob", "(Ljava/lang/String;)Ljava/sql/Blob;", "GetGetBlob_Ljava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.IBlob? GetBlob (string? parameterName);
[<Android.Runtime.Register("getBlob", "(Ljava/lang/String;)Ljava/sql/Blob;", "GetGetBlob_Ljava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetBlob : string -> Java.Sql.IBlob

Parameters

parameterName
String

the name of the parameter

Returns

IBlob

the parameter value as a <code>Blob</code> object in the Java programming language. If the value was SQL <code>NULL</code>, the value <code>null</code> is returned.

Attributes

Exceptions

if a database error occurs.

Remarks

Java documentation for java.sql.CallableStatement.getBlob(java.lang.String).

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