Share via


SqlCeUpdatableRecord.SetBoolean Method

Sets the column at the specified index to the passed-in bool value.

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

Syntax

'Declaration
Public Sub SetBoolean ( _
    ordinal As Integer, _
    value As Boolean _
)
'Usage
Dim instance As SqlCeUpdatableRecord
Dim ordinal As Integer
Dim value As Boolean

instance.SetBoolean(ordinal, value)
public void SetBoolean(
    int ordinal,
    bool value
)
public:
void SetBoolean(
    int ordinal, 
    bool value
)
member SetBoolean : 
        ordinal:int * 
        value:bool -> unit 
public function SetBoolean(
    ordinal : int, 
    value : boolean
)

Parameters

  • ordinal
    Type: System.Int32
    The field in which to set the value.

See Also

Reference

SqlCeUpdatableRecord Class

System.Data.SqlServerCe Namespace