Share via


IRowSet.SetBoolean Method

Definition

Overloads

SetBoolean(Int32, Boolean)

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

SetBoolean(String, Boolean)

Sets the designated parameter to the given Java boolean value.

SetBoolean(Int32, Boolean)

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

[Android.Runtime.Register("setBoolean", "(IZ)V", "GetSetBoolean_IZHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetBoolean (int parameterIndex, bool x);
[<Android.Runtime.Register("setBoolean", "(IZ)V", "GetSetBoolean_IZHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetBoolean : int * bool -> unit

Parameters

parameterIndex
Int32

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

x
Boolean

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

Java documentation for javax.sql.RowSet.setBoolean(int, 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

SetBoolean(String, Boolean)

Sets the designated parameter to the given Java boolean value.

[Android.Runtime.Register("setBoolean", "(Ljava/lang/String;Z)V", "GetSetBoolean_Ljava_lang_String_ZHandler:Javax.Sql.IRowSetInvoker, 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:Javax.Sql.IRowSetInvoker, 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 an error occurs accessing the database.

Remarks

Sets the designated parameter to the given Java boolean value. The driver converts this to an SQL BIT or BOOLEAN value when it sends it to the database.

Added in 1.4.

Java documentation for javax.sql.RowSet.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