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

GetInt16() public method

Gets the 16-bit signed integer value of the specified field.
The index passed was outside the range of 0 through .
public GetInt16 ( int i ) : short
i int The index of the field to find.
return short
        public virtual short GetInt16(int i)
        {
            if ((i < 0) || (i >= _numCols))
            {
                throw new ArgumentOutOfRangeException("i", "Column index must be >= 0 and < " + _numCols + ".");
            }
            return Convert.ToInt16(GetCachedValue(i));
        }