DbDataRecord.GetFloat(Int32) 方法
定义
以单精度浮点数字的形式返回指定列的值。Returns the value of the specified column as a single-precision floating-point number.
public:
abstract float GetFloat(int i);
public:
virtual float GetFloat(int i);
public abstract float GetFloat (int i);
public float GetFloat (int i);
abstract member GetFloat : int -> single
abstract member GetFloat : int -> single
override this.GetFloat : int -> single
Public MustOverride Function GetFloat (i As Integer) As Single
Public Function GetFloat (i As Integer) As Single
参数
- i
- Int32
列序号。The column ordinal.
返回
指定列的值。The value of the specified column.
实现
注解
不执行任何转换;因此,检索的数据必须已经是单精度浮点数。No conversions are performed; therefore the data retrieved must already be a single-precision floating-point number.