SqlCeUpdatableRecord.GetBoolean 方法

以 bool 类型返回指定字段的值。

命名空间:  System.Data.SqlServerCe
程序集:  System.Data.SqlServerCe(在 System.Data.SqlServerCe.dll 中)

语法

声明
Public Function GetBoolean ( _
    ordinal As Integer _
) As Boolean
用法
Dim instance As SqlCeUpdatableRecord
Dim ordinal As Integer
Dim returnValue As Boolean

returnValue = instance.GetBoolean(ordinal)
public bool GetBoolean(
    int ordinal
)
public:
virtual bool GetBoolean(
    int ordinal
) sealed
abstract GetBoolean : 
        ordinal:int -> bool 
override GetBoolean : 
        ordinal:int -> bool 
public final function GetBoolean(
    ordinal : int
) : boolean

参数

  • ordinal
    类型:System.Int32
    将从其中检索值的字段。

返回值

类型:System.Boolean

实现

IDataRecord.GetBoolean(Int32)

请参阅

参考

SqlCeUpdatableRecord 类

System.Data.SqlServerCe 命名空间