ICallableStatement.GetBoolean Method

Definition

Overloads

GetBoolean(Int32)

Retrieves the value of the designated JDBC <code>BIT</code> or <code>BOOLEAN</code> parameter as a <code>boolean</code> in the Java programming language.

GetBoolean(String)

Retrieves the value of a JDBC <code>BIT</code> or <code>BOOLEAN</code> parameter as a <code>boolean</code> in the Java programming language.

GetBoolean(Int32)

Retrieves the value of the designated JDBC <code>BIT</code> or <code>BOOLEAN</code> parameter as a <code>boolean</code> in the Java programming language.

[Android.Runtime.Register("getBoolean", "(I)Z", "GetGetBoolean_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool GetBoolean (int parameterIndex);
[<Android.Runtime.Register("getBoolean", "(I)Z", "GetGetBoolean_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetBoolean : int -> bool

Parameters

parameterIndex
Int32

the first parameter is 1, the second is 2, and so on

Returns

Boolean

the parameter value. If the value is SQL <code>NULL</code>, the result is <code>false</code>.

Attributes

Exceptions

if a database error occurs.

Remarks

Java documentation for java.sql.CallableStatement.getBoolean(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.

Applies to

GetBoolean(String)

Retrieves the value of a JDBC <code>BIT</code> or <code>BOOLEAN</code> parameter as a <code>boolean</code> in the Java programming language.

[Android.Runtime.Register("getBoolean", "(Ljava/lang/String;)Z", "GetGetBoolean_Ljava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool GetBoolean (string? parameterName);
[<Android.Runtime.Register("getBoolean", "(Ljava/lang/String;)Z", "GetGetBoolean_Ljava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetBoolean : string -> bool

Parameters

parameterName
String

the name of the parameter

Returns

Boolean

the parameter value. If the value is SQL <code>NULL</code>, the result is <code>false</code>.

Attributes

Exceptions

if a database error occurs.

Remarks

Java documentation for java.sql.CallableStatement.getBoolean(java.lang.String).

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