DbDataReader.GetDouble(Int32) Method

Definition

When overridden in a derived class, gets the value of the specified column as a double-precision floating point number.

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

Parameters

ordinal
Int32

The zero-based column ordinal.

Returns

The value of the specified column.

Implements

Exceptions

The specified cast is not valid.

Applies to

See also