Share via


SqlDataRecord.SetBoolean(Int32, Boolean) Method

Definition

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

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

Parameters

ordinal
Int32

The zero-based ordinal of the column.

value
Boolean

The new value of the column.

Applies to