SqlCeUpdatableRecord.IsDBNull 方法
确定指定的字段是否为 NULL。
命名空间: System.Data.SqlServerCe
程序集: System.Data.SqlServerCe(在 System.Data.SqlServerCe.dll 中)
语法
声明
Public Function IsDBNull ( _
ordinal As Integer _
) As Boolean
用法
Dim instance As SqlCeUpdatableRecord
Dim ordinal As Integer
Dim returnValue As Boolean
returnValue = instance.IsDBNull(ordinal)
public bool IsDBNull(
int ordinal
)
public:
virtual bool IsDBNull(
int ordinal
) sealed
abstract IsDBNull :
ordinal:int -> bool
override IsDBNull :
ordinal:int -> bool
public final function IsDBNull(
ordinal : int
) : boolean
参数
- ordinal
类型:System.Int32
要检查的字段。
返回值
类型:System.Boolean
如果字段为 NULL,则为 true;否则为 false。