Share via


IRowSet.SetInt Method

Definition

Overloads

SetInt(Int32, Int32)

Sets the designated parameter in this RowSet object's command to the given Java int value.

SetInt(String, Int32)

Sets the designated parameter to the given Java int value.

SetInt(Int32, Int32)

Sets the designated parameter in this RowSet object's command to the given Java int value.

[Android.Runtime.Register("setInt", "(II)V", "GetSetInt_IIHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetInt (int parameterIndex, int x);
[<Android.Runtime.Register("setInt", "(II)V", "GetSetInt_IIHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetInt : int * int -> unit

Parameters

parameterIndex
Int32

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

x
Int32

the parameter value

Attributes

Exceptions

if an error occurs accessing the database.

Remarks

Sets the designated parameter in this RowSet object's command to the given Java int value. The driver converts this to an SQL INTEGER value before sending it to the database.

Java documentation for javax.sql.RowSet.setInt(int, 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

SetInt(String, Int32)

Sets the designated parameter to the given Java int value.

[Android.Runtime.Register("setInt", "(Ljava/lang/String;I)V", "GetSetInt_Ljava_lang_String_IHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetInt (string? parameterName, int x);
[<Android.Runtime.Register("setInt", "(Ljava/lang/String;I)V", "GetSetInt_Ljava_lang_String_IHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetInt : string * int -> unit

Parameters

parameterName
String

the name of the parameter

x
Int32

the parameter value

Attributes

Exceptions

if an error occurs accessing the database.

Remarks

Sets the designated parameter to the given Java int value. The driver converts this to an SQL INTEGER value when it sends it to the database.

Added in 1.4.

Java documentation for javax.sql.RowSet.setInt(java.lang.String, 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