SqlCeResultSet.GetSqlSingle Method

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

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

Syntax

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

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

Parameters

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

Return Value

Type: System.Data.SqlTypes.SqlSingle
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