SqlDataRecord.GetDouble(Int32) Método
Definição
public:
virtual double GetDouble(int ordinal);
public virtual double GetDouble (int ordinal);
abstract member GetDouble : int -> double
override this.GetDouble : int -> double
Public Overridable Function GetDouble (ordinal As Integer) As Double
Parâmetros
- ordinal
- Int32
O ordinal com base em zero da coluna.The zero-based ordinal of the column.
Retornos
O valor da coluna como um Double.The column value as a Double.
Implementações
Exceções
O ordinal é menor que 0 ou maior que o número de colunas (ou seja, FieldCount).The ordinal is less than 0 or greater than the number of columns (that is, FieldCount).
A coluna especificada por ordinal é nula.The column specified by ordinal is null.
Há tipos incompatíveis.There is a type mismatch.