ICallableStatement.GetDouble Method

Definition

Overloads

GetDouble(Int32)

Retrieves the value of the designated JDBC <code>DOUBLE</code> parameter as a <code>double</code> in the Java programming language.

GetDouble(String)

Retrieves the value of a JDBC <code>DOUBLE</code> parameter as a <code>double</code> in the Java programming language.

GetDouble(Int32)

Retrieves the value of the designated JDBC <code>DOUBLE</code> parameter as a <code>double</code> in the Java programming language.

[Android.Runtime.Register("getDouble", "(I)D", "GetGetDouble_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public double GetDouble (int parameterIndex);
[<Android.Runtime.Register("getDouble", "(I)D", "GetGetDouble_IHandler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetDouble : int -> double

Parameters

parameterIndex
Int32

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

Returns

Double

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

Attributes

Exceptions

if a database error occurs.

Remarks

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

GetDouble(String)

Retrieves the value of a JDBC <code>DOUBLE</code> parameter as a <code>double</code> in the Java programming language.

[Android.Runtime.Register("getDouble", "(Ljava/lang/String;)D", "GetGetDouble_Ljava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public double GetDouble (string? parameterName);
[<Android.Runtime.Register("getDouble", "(Ljava/lang/String;)D", "GetGetDouble_Ljava_lang_String_Handler:Java.Sql.ICallableStatementInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetDouble : string -> double

Parameters

parameterName
String

the name of the parameter

Returns

Double

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

Attributes

Exceptions

if there is a problem accessing the database.

Remarks

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