次の方法で共有


IResultSet.UpdateFloat Method

Definition

Overloads

UpdateFloat(Int32, Single)

Updates the designated column with a float value.

UpdateFloat(String, Single)

Updates the designated column with a float value.

UpdateFloat(Int32, Single)

Updates the designated column with a float value.

[Android.Runtime.Register("updateFloat", "(IF)V", "GetUpdateFloat_IFHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateFloat (int columnIndex, float x);
[<Android.Runtime.Register("updateFloat", "(IF)V", "GetUpdateFloat_IFHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateFloat : int * single -> unit

Parameters

columnIndex
Int32

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

x
Single

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with a float value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Added in 1.2.

Java documentation for java.sql.ResultSet.updateFloat(int, float).

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

UpdateFloat(String, Single)

Updates the designated column with a float value.

[Android.Runtime.Register("updateFloat", "(Ljava/lang/String;F)V", "GetUpdateFloat_Ljava_lang_String_FHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void UpdateFloat (string? columnLabel, float x);
[<Android.Runtime.Register("updateFloat", "(Ljava/lang/String;F)V", "GetUpdateFloat_Ljava_lang_String_FHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member UpdateFloat : string * single -> unit

Parameters

columnLabel
String

the label for the column specified with the SQL AS clause. If the SQL AS clause was not specified, then the label is the name of the column

x
Single

the new column value

Attributes

Exceptions

if a database error happens.

Remarks

Updates the designated column with a float value. The updater methods are used to update column values in the current row or the insert row. The updater methods do not update the underlying database; instead the updateRow or insertRow methods are called to update the database.

Added in 1.2.

Java documentation for java.sql.ResultSet.updateFloat(java.lang.String, float).

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