SqlCeResultSet.GetBoolean Method
Returns the value of the column at the specified index as a Boolean value.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Overrides Function GetBoolean ( _
ordinal As Integer _
) As Boolean
'Usage
Dim instance As SqlCeResultSet
Dim ordinal As Integer
Dim returnValue As Boolean
returnValue = instance.GetBoolean(ordinal)
public override bool GetBoolean(
int ordinal
)
public:
virtual bool GetBoolean(
int ordinal
) override
abstract GetBoolean :
ordinal:int -> bool
override GetBoolean :
ordinal:int -> bool
public override function GetBoolean(
ordinal : int
) : boolean
Parameters
- ordinal
Type: System.Int32
The ordinal position of the column from which to retrieve data.
Return Value
Type: System.Boolean
The value of the column at the specified index.
Implements
Remarks
An exception is thrown if no field exists at the specified index.