Compartilhar via


IResultSet.GetClob Method

Definition

Overloads

GetClob(Int32)

Retrieves the value of the designated column in the current row of this ResultSet object as a Clob object in the Java programming language.

GetClob(String)

Retrieves the value of the designated column in the current row of this ResultSet object as a Clob object in the Java programming language.

GetClob(Int32)

Retrieves the value of the designated column in the current row of this ResultSet object as a Clob object in the Java programming language.

[Android.Runtime.Register("getClob", "(I)Ljava/sql/Clob;", "GetGetClob_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.IClob? GetClob (int columnIndex);
[<Android.Runtime.Register("getClob", "(I)Ljava/sql/Clob;", "GetGetClob_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetClob : int -> Java.Sql.IClob

Parameters

columnIndex
Int32

the first column is 1, the second is 2, ...

Returns

a Clob object representing the SQL CLOB value in the specified column

Attributes

Exceptions

if a database error happens.

Remarks

Retrieves the value of the designated column in the current row of this ResultSet object as a Clob object in the Java programming language.

Added in 1.2.

Java documentation for java.sql.ResultSet.getClob(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

GetClob(String)

Retrieves the value of the designated column in the current row of this ResultSet object as a Clob object in the Java programming language.

[Android.Runtime.Register("getClob", "(Ljava/lang/String;)Ljava/sql/Clob;", "GetGetClob_Ljava_lang_String_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.IClob? GetClob (string? columnLabel);
[<Android.Runtime.Register("getClob", "(Ljava/lang/String;)Ljava/sql/Clob;", "GetGetClob_Ljava_lang_String_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetClob : string -> Java.Sql.IClob

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

Returns

a Clob object representing the SQL CLOB value in the specified column

Attributes

Exceptions

if a database error happens.

Remarks

Retrieves the value of the designated column in the current row of this ResultSet object as a Clob object in the Java programming language.

Added in 1.2.

Java documentation for java.sql.ResultSet.getClob(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