IRowSet.SetByte Method

Definition

Overloads

SetByte(Int32, SByte)

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

SetByte(String, SByte)

Sets the designated parameter to the given Java byte value.

SetByte(Int32, SByte)

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

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

Parameters

parameterIndex
Int32

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

x
SByte

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

Java documentation for javax.sql.RowSet.setByte(int, byte).

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

SetByte(String, SByte)

Sets the designated parameter to the given Java byte value.

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

Parameters

parameterName
String

the name of the parameter

x
SByte

the parameter value

Attributes

Exceptions

if an error occurs accessing the database.

Remarks

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

Added in 1.4.

Java documentation for javax.sql.RowSet.setByte(java.lang.String, byte).

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