Share via


SqlCeResultSet.GetSqlInt64 Method

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

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

Syntax

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

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

Parameters

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

Return Value

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