SqlCeResultSet.GetSqlDouble Method

Returns the value of the column at the specified index as type SqlDouble.

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

Syntax

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

returnValue = instance.GetSqlDouble(ordinal)
public override SqlDouble GetSqlDouble(
    int ordinal
)
public:
virtual SqlDouble GetSqlDouble(
    int ordinal
) override
abstract GetSqlDouble : 
        ordinal:int -> SqlDouble 
override GetSqlDouble : 
        ordinal:int -> SqlDouble 
public override function GetSqlDouble(
    ordinal : int
) : SqlDouble

Parameters

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

Return Value

Type: System.Data.SqlTypes.SqlDouble
The value of the column at the specified index.

Remarks

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

See Also

Reference

SqlCeResultSet Class

System.Data.SqlServerCe Namespace