SqlDataRecord.GetInt64(Int32) SqlDataRecord.GetInt64(Int32) SqlDataRecord.GetInt64(Int32) SqlDataRecord.GetInt64(Int32) Method

Definition

Gets the value for the column specified by the ordinal as a Int64.

public:
 virtual long GetInt64(int ordinal);
public virtual long GetInt64 (int ordinal);
abstract member GetInt64 : int -> int64
override this.GetInt64 : int -> int64
Public Overridable Function GetInt64 (ordinal As Integer) As Long

Parameters

ordinal
Int32 Int32 Int32 Int32

The zero-based ordinal of the column.

Returns

The column value as a Int64.

Implements

Exceptions

The ordinal is less than 0 or greater than the number of columns (that is, FieldCount).

Applies to