CurrentValueRecord.IsDBNull(Int32) 方法

定义

返回一个值,该值指示指定的字段是否设置为 nullReturns a value that indicates whether the specified field is set to null.

public:
 override bool IsDBNull(int ordinal);
public override bool IsDBNull (int ordinal);
override this.IsDBNull : int -> bool
Public Overrides Function IsDBNull (ordinal As Integer) As Boolean

参数

ordinal
Int32

字段的序号。The ordinal of the field.

返回

Boolean

如果该字段设置为 null,则返回 true;否则,返回 falsetrue if the field is set to null; otherwise, false.

实现

适用于