ICallableStatement.SetInt(String, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the designated parameter to the given Java int
value.
[Android.Runtime.Register("setInt", "(Ljava/lang/String;I)V", "GetSetInt_Ljava_lang_String_IHandler:Java.Sql.ICallableStatementInvoker, 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:Java.Sql.ICallableStatementInvoker, 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 a database error occurs.
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 java.sql.CallableStatement.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.