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

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

SqlCeResultSet Members

System.Data.SqlServerCe Namespace