次の方法で共有


IResultSet.GetRowId Method

Definition

Overloads

GetRowId(Int32)

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

GetRowId(String)

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

GetRowId(Int32)

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

[Android.Runtime.Register("getRowId", "(I)Ljava/sql/RowId;", "GetGetRowId_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.IRowId? GetRowId (int columnIndex);
[<Android.Runtime.Register("getRowId", "(I)Ljava/sql/RowId;", "GetGetRowId_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetRowId : int -> Java.Sql.IRowId

Parameters

columnIndex
Int32

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

Returns

the column value; if the value is a SQL NULL the value returned is null

Attributes

Exceptions

Remarks

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

Added in 1.6.

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

GetRowId(String)

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

[Android.Runtime.Register("getRowId", "(Ljava/lang/String;)Ljava/sql/RowId;", "GetGetRowId_Ljava_lang_String_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Java.Sql.IRowId? GetRowId (string? columnLabel);
[<Android.Runtime.Register("getRowId", "(Ljava/lang/String;)Ljava/sql/RowId;", "GetGetRowId_Ljava_lang_String_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetRowId : string -> Java.Sql.IRowId

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

the column value ; if the value is a SQL NULL the value returned is null

Attributes

Exceptions

Remarks

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

Added in 1.6.

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