Ejemplo n.º 1
0
        public List <RsCollectionFolder> GetSubFolders()
        {
            List <RsCollectionFolder> lResult = new List <RsCollectionFolder>();

            if (ReportFolder.hasChildren)
            {
                for (int i = 0; i < ReportFolder.ItemCount; i++)
                {
                    CReportItem iItem = ReportFolder[i];

                    if (iItem is CReportFolder)
                    {
                        RsCollectionFolder lFolder = new RsCollectionFolder((CReportFolder)iItem);
                        lResult.Add(lFolder);
                    }
                }
            }

            return(lResult);
        }
Ejemplo n.º 2
0
        public List<RsCollectionFolder> GetSubFolders()
        {
            List<RsCollectionFolder> lResult = new List<RsCollectionFolder>();

            if (ReportFolder.hasChildren)
            {
                for (int i = 0; i < ReportFolder.ItemCount; i++)
                {
                    CReportItem iItem = ReportFolder[i];

                    if (iItem is CReportFolder)
                    {
                        RsCollectionFolder lFolder = new RsCollectionFolder((CReportFolder)iItem);
                        lResult.Add(lFolder);
                    }
                }
            }

            return lResult;
        }