IRowSet.SetLong Method

Definition

Overloads

SetLong(Int32, Int64)

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

SetLong(String, Int64)

Sets the designated parameter to the given Java long value.

SetLong(Int32, Int64)

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

[Android.Runtime.Register("setLong", "(IJ)V", "GetSetLong_IJHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetLong (int parameterIndex, long x);
[<Android.Runtime.Register("setLong", "(IJ)V", "GetSetLong_IJHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetLong : int * int64 -> unit

Parameters

parameterIndex
Int32

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

x
Int64

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 long value. The driver converts this to an SQL BIGINT value before sending it to the database.

Java documentation for javax.sql.RowSet.setLong(int, long).

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

SetLong(String, Int64)

Sets the designated parameter to the given Java long value.

[Android.Runtime.Register("setLong", "(Ljava/lang/String;J)V", "GetSetLong_Ljava_lang_String_JHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetLong (string? parameterName, long x);
[<Android.Runtime.Register("setLong", "(Ljava/lang/String;J)V", "GetSetLong_Ljava_lang_String_JHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetLong : string * int64 -> unit

Parameters

parameterName
String

the name of the parameter

x
Int64

the parameter value

Attributes

Exceptions

if an error occurs accessing the database.

Remarks

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

Added in 1.4.

Java documentation for javax.sql.RowSet.setLong(java.lang.String, long).

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