SqlCeResultSet.GetDouble Method

Returns the value of the column at the specified index as a Double.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Overrides Function GetDouble ( _
    ordinal As Integer _
) As Double
'Usage
Dim instance As SqlCeResultSet
Dim ordinal As Integer
Dim returnValue As Double

returnValue = instance.GetDouble(ordinal)
public override double GetDouble(
    int ordinal
)
public:
virtual double GetDouble(
    int ordinal
) override
abstract GetDouble : 
        ordinal:int -> float 
override GetDouble : 
        ordinal:int -> float 
public override function GetDouble(
    ordinal : int
) : double

Parameters

  • ordinal
    Type: System.Int32
    The ordinal position of the column from which to retrieve data.

Return Value

Type: System.Double
The value of the column at the specified index.

Implements

IDataRecord.GetDouble(Int32)

Remarks

An exception is thrown if no field exists at the specified ordinal position.

See Also

Reference

SqlCeResultSet Class

System.Data.SqlServerCe Namespace