SqlCeResultSet.GetInt64 Method

Returns the value of the column at the specified index as an Int64.

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

Syntax

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

returnValue = instance.GetInt64(ordinal)
public override long GetInt64(
    int ordinal
)
public:
virtual long long GetInt64(
    int ordinal
) override
abstract GetInt64 : 
        ordinal:int -> int64 
override GetInt64 : 
        ordinal:int -> int64 
public override function GetInt64(
    ordinal : int
) : long

Parameters

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

Return Value

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

Implements

IDataRecord.GetInt64(Int32)

Remarks

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

See Also

Reference

SqlCeResultSet Class

System.Data.SqlServerCe Namespace