SqlCeResultSet.SetInt64 Method

Sets the value of the specified column to the passed-in Int64 value.

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

Syntax

'Declaration
Public Sub SetInt64 ( _
    ordinal As Integer, _
    value As Long _
)
'Usage
Dim instance As SqlCeResultSet
Dim ordinal As Integer
Dim value As Long

instance.SetInt64(ordinal, value)
public void SetInt64(
    int ordinal,
    long value
)
public:
void SetInt64(
    int ordinal, 
    long long value
)
member SetInt64 : 
        ordinal:int * 
        value:int64 -> unit 
public function SetInt64(
    ordinal : int, 
    value : long
)

Parameters

  • ordinal
    Type: System.Int32
    The ordinal position of the column to set.
  • value
    Type: System.Int64
    The value to assign to the specified column.

Remarks

The underlying column must be of type bigint.

An exception is thrown if the row is not marked as updatable.

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

See Also

Reference

SqlCeResultSet Class

System.Data.SqlServerCe Namespace