WebApplications.Testing.Data.ObjectRecord.GetChar C# (CSharp) 메소드

GetChar() 공개 메소드

public GetChar ( int i ) : char
i int
리턴 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;
        }