IDataRecord.GetDouble(Int32) 方法

定義

取得指定欄位的雙精確度浮點數。

public:
 double GetDouble(int i);
public double GetDouble (int i);
abstract member GetDouble : int -> double
Public Function GetDouble (i As Integer) As Double

參數

i
Int32

要尋找的欄位索引。

傳回

指定欄位的雙精確度浮點數。

例外狀況

傳遞的索引超出 0 到 FieldCount 的範圍。

適用於