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

GetChar() public method

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