IResultSet.GetFloat Method

Definition

Overloads

GetFloat(Int32)

Gets the value of a column specified by column index as a float value.

GetFloat(String)

Gets the value of a column specified by column name as a float value.

GetFloat(Int32)

Gets the value of a column specified by column index as a float value.

[Android.Runtime.Register("getFloat", "(I)F", "GetGetFloat_IHandler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public float GetFloat (int columnIndex);
abstract member GetFloat : int -> single

Parameters

columnIndex
Int32

the index of the column to read.

Returns

Single
Attributes

Exceptions

if a database error happens.

Remarks

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

GetFloat(String)

Gets the value of a column specified by column name as a float value.

[Android.Runtime.Register("getFloat", "(Ljava/lang/String;)F", "GetGetFloat_Ljava_lang_String_Handler:Java.Sql.IResultSetInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public float GetFloat (string columnLabel);
abstract member GetFloat : string -> single

Parameters

columnLabel
String

Returns

Single
Attributes

Exceptions

if a database error happens.

Remarks

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