IDataRecord.GetDouble(Int32) 方法

定义

获取指定字段的双精度浮点数。Gets the double-precision floating point number of the specified field.

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

要查找的字段的索引。The index of the field to find.

返回

Double

指定字段的双精度浮点数。The double-precision floating point number of the specified field.

例外

传递的索引位于 0 至 FieldCount 的范围之外。The index passed was outside the range of 0 through FieldCount.

适用于