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

GetString() 공개 메소드

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