OracleDataReader.GetFloat(Int32) 方法

定義

取得指定資料行的值做為單精確度浮點數。

public:
 virtual float GetFloat(int i);
public:
 override float GetFloat(int i);
public float GetFloat (int i);
public override float GetFloat (int i);
abstract member GetFloat : int -> single
override this.GetFloat : int -> single
override this.GetFloat : int -> single
Public Function GetFloat (i As Integer) As Single
Public Overrides Function GetFloat (i As Integer) As Single

參數

i
Int32

以零為基底的資料行序數。

傳回

傳回指定資料行的值做為單精確度浮點數。

實作

例外狀況

指定的轉型無效。

備註

呼叫 IsDBNull 以在呼叫此方法之前檢查 Null 值。

適用於