ICallableStatement.SetBoolean(String, Boolean) Method

Definition

Sets the designated parameter to the given Java <code>boolean</code> value.

[Android.Runtime.Register("setBoolean", "(Ljava/lang/String;Z)V", "GetSetBoolean_Ljava_lang_String_ZHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetBoolean (string? parameterName, bool x);
[<Android.Runtime.Register("setBoolean", "(Ljava/lang/String;Z)V", "GetSetBoolean_Ljava_lang_String_ZHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetBoolean : string * bool -> unit

Parameters

parameterName
String

the name of the parameter

x
Boolean

the parameter value

Attributes

Exceptions

if a database error occurs.

Remarks

Java documentation for java.sql.CallableStatement.setBoolean(java.lang.String, boolean).

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