LynnaLab.ObjectData.GetValue C# (CSharp) Method

GetValue() public method

public GetValue ( int i ) : string
i int
return string
        public override string GetValue(int i)
        {
            if (IsShortened()) {
                ObjectData last = LastData as ObjectData;

                if (last == null || (last.GetObjectType() != GetObjectType()))
                    this.ThrowException(new Exception("Malformatted object"));

                if (i == 0)
                    return (LastData as ObjectData).GetValue(0);
                else
                    return base.GetValue(i-1);
            }

            return base.GetValue(i);
        }