IronJSON.JSONManager.CdBack C# (CSharp) Method

CdBack() public method

public CdBack ( int times ) : void
times int
return void
        public void CdBack(int times)
        {
            ArrayList tmpPath = (ArrayList)m_curPath.Clone();

            if (tmpPath.Count < times)
                return;

            for (int i = 0; i < times; ++i)
                tmpPath.RemoveAt(m_curPath.Count - 1);

            Cd(Path.Absolute);
            foreach (object o in tmpPath)
                Cd(Path.Relative, o);
        }

Same methods

JSONManager::CdBack ( ) : void