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

GetByte() public method

Gets the 8-bit unsigned integer value of the specified column.
The index passed was outside the range of 0 through .
public GetByte ( int i ) : byte
i int The zero-based column ordinal.
return byte
        public virtual byte GetByte(int i)
        {
            if ((i < 0) || (i >= _numCols))
            {
                throw new ArgumentOutOfRangeException("i", "Column index must be >= 0 and < " + _numCols + ".");
            }
            return Convert.ToByte(GetCachedValue(i));
        }