Freigeben über


IRowSet.SetDouble Method

Definition

Overloads

SetDouble(String, Double)

Sets the designated parameter to the given Java double value.

SetDouble(Int32, Double)

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

SetDouble(String, Double)

Sets the designated parameter to the given Java double value.

[Android.Runtime.Register("setDouble", "(Ljava/lang/String;D)V", "GetSetDouble_Ljava_lang_String_DHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetDouble (string? parameterName, double x);
[<Android.Runtime.Register("setDouble", "(Ljava/lang/String;D)V", "GetSetDouble_Ljava_lang_String_DHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetDouble : string * double -> unit

Parameters

parameterName
String

the name of the parameter

x
Double

the parameter value

Attributes

Exceptions

if an error occurs accessing the database.

Remarks

Sets the designated parameter to the given Java double value. The driver converts this to an SQL DOUBLE value when it sends it to the database.

Added in 1.4.

Java documentation for javax.sql.RowSet.setDouble(java.lang.String, double).

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

SetDouble(Int32, Double)

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

[Android.Runtime.Register("setDouble", "(ID)V", "GetSetDouble_IDHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void SetDouble (int parameterIndex, double x);
[<Android.Runtime.Register("setDouble", "(ID)V", "GetSetDouble_IDHandler:Javax.Sql.IRowSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member SetDouble : int * double -> unit

Parameters

parameterIndex
Int32

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

x
Double

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

Java documentation for javax.sql.RowSet.setDouble(int, double).

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