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

GetBoolean() public method

Gets the value of the specified column as a Boolean.
The index passed was outside the range of 0 through .
public GetBoolean ( int i ) : bool
i int The zero-based column ordinal.
return bool
        public virtual bool GetBoolean(int i)
        {
            if ((i < 0) || (i >= _numCols))
            {
                throw new ArgumentOutOfRangeException("i", "Column index must be >= 0 and < " + _numCols + ".");
            }
            return Convert.ToBoolean(GetCachedValue(i));
        }