WebApplications.Testing.Data.ObjectRecord.GetChar C# (CSharp) Method

GetChar() public method

public GetChar ( int i ) : char
i int
return char
        public char GetChar(int i)
        {
            if ((i < 0) ||
                (i > FieldCount))
                throw new IndexOutOfRangeException(i.ToString(CultureInfo.InvariantCulture));
            object o = _columnValues[i];
            if (o == null)
                throw new SqlNullValueException();
            if (!(o is char))
                throw new InvalidCastException();
            return (char)o;
        }