CurrentValueRecord.IsDBNull(Int32) 方法
定义
返回一个值,该值指示指定的字段是否设置为 null。Returns 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.
返回
如果该字段设置为 null,则返回 true;否则,返回 false。true if the field is set to null; otherwise, false.