Aracılığıyla paylaş


IPreparedStatement.SetRowId(Int32, IRowId) Method

Definition

Sets the designated parameter to the given java.sql.RowId object.

[Android.Runtime.Register("setRowId", "(ILjava/sql/RowId;)V", "GetSetRowId_ILjava_sql_RowId_Handler:Java.Sql.IPreparedStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetRowId (int parameterIndex, Java.Sql.IRowId? x);
[<Android.Runtime.Register("setRowId", "(ILjava/sql/RowId;)V", "GetSetRowId_ILjava_sql_RowId_Handler:Java.Sql.IPreparedStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetRowId : int * Java.Sql.IRowId -> unit

Parameters

parameterIndex
Int32

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

x
IRowId

the parameter value

Attributes

Exceptions

if a database error happens.

Remarks

Sets the designated parameter to the given java.sql.RowId object. The driver converts this to a SQL ROWID value when it sends it to the database

Added in 1.6.

Java documentation for java.sql.PreparedStatement.setRowId(int, java.sql.RowId).

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