Share via


SqlDataRecord.SetInt64(Int32, Int64) Method

Definition

Sets the data stored in the column to the specified Int64 value.

public:
 virtual void SetInt64(int ordinal, long value);
public virtual void SetInt64 (int ordinal, long value);
abstract member SetInt64 : int * int64 -> unit
override this.SetInt64 : int * int64 -> unit
Public Overridable Sub SetInt64 (ordinal As Integer, value As Long)

Parameters

ordinal
Int32

The zero-based ordinal of the column.

value
Int64

The new value of the column.

Exceptions

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

Applies to