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

GetString() public method

Gets the string value of the specified field.
The index passed was outside the range of 0 through .
public GetString ( int i ) : string
i int The index of the field to find.
return string
        public virtual string GetString(int i)
        {
            if ((i < 0) || (i >= _numCols))
            {
                throw new ArgumentOutOfRangeException("i", "Column index must be >= 0 and < " + _numCols + ".");
            }
            object retVal = GetCachedValue(i);
            return (retVal == null ? null : retVal.ToString());
        }