Share via


SqlDataRecord.SetDouble(Int32, Double) Method

Definition

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

public:
 virtual void SetDouble(int ordinal, double value);
public virtual void SetDouble (int ordinal, double value);
abstract member SetDouble : int * double -> unit
override this.SetDouble : int * double -> unit
Public Overridable Sub SetDouble (ordinal As Integer, value As Double)

Parameters

ordinal
Int32

The zero-based ordinal of the column.

value
Double

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