Mimer SQL Data Provider
GetInt64 Method




Mimer.Data.Client Namespace > MimerDataReader Class : GetInt64 Method
The zero-based column ordinal position.
Gets the value of the specified column as a signed 64-bit integer number.
Syntax
'Declaration
 
Public Overrides NotOverridable Function GetInt64( _
   ByVal i As Integer _
) As Long
public override long GetInt64( 
   int i
)
public function GetInt64( 
    i: Integer
): Int64; override; 
public override function GetInt64( 
   i : int
) : long;
public: long GetInt64( 
   int i
) override 

Parameters

i
The zero-based column ordinal position.

Return Value

The value of the column as a System.Int64.
Exceptions
ExceptionDescription
The underlying SQL data type cannot be converted to System.Int64.
The MimerDataReader is not positioned on a row.
The column ordinal is outside the valid range.
Remarks
Supported SQL data types for the conversion are any numeric data type or INTERVAL with a single value field: INTERVAL YEAR, INTERVAL MONTH, INTERVAL DAY, INTERVAL HOUR, INTERVAL MINUTE, or INTERVAL SECOND.

Use the IsDBNull method to check for database null value before calling this method.

Requirements

.NET Framework
Version 2.0 or later

See Also

Reference

MimerDataReader Class
MimerDataReader Members