Azavea.Open.DAO.Util.CachingDataReader.IsDBNull C# (CSharp) Method

IsDBNull() public method

Return whether the specified field is set to null.
The index passed was outside the range of 0 through .
public IsDBNull ( int i ) : bool
i int The index of the field to find.
return bool
        public virtual bool IsDBNull(int i)
        {
            if ((i < 0) || (i >= _numCols))
            {
                throw new ArgumentOutOfRangeException("i", "Column index must be >= 0 and < " + _numCols + ", but was " + i);
            }
            return (GetCachedValue(i) == null);
        }