ICallableStatement.SetByte(String, SByte) Method

Definition

Sets the designated parameter to the given Java byte value.

[Android.Runtime.Register("setByte", "(Ljava/lang/String;B)V", "GetSetByte_Ljava_lang_String_BHandler:Java.Sql.ICallableStatementInvoker, 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:Java.Sql.ICallableStatementInvoker, 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 a database error occurs.

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 java.sql.CallableStatement.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