SqlDataRecord.GetSqlDouble(Int32) 方法
定义
public:
virtual System::Data::SqlTypes::SqlDouble GetSqlDouble(int ordinal);
public virtual System.Data.SqlTypes.SqlDouble GetSqlDouble (int ordinal);
abstract member GetSqlDouble : int -> System.Data.SqlTypes.SqlDouble
override this.GetSqlDouble : int -> System.Data.SqlTypes.SqlDouble
Public Overridable Function GetSqlDouble (ordinal As Integer) As SqlDouble
参数
- ordinal
- Int32
从零开始的列序号。The zero-based ordinal of the column.
返回
SqlDouble 形式的列值。The column value as a SqlDouble.
例外
ordinal 小于 0 或大于列数(即 FieldCount)。The ordinal is less than 0 or greater than the number of columns (that is, FieldCount).
类型不匹配。There is a type mismatch.