예제 #1
0
        public ClassFolderCollection Copy()
        {
            ClassFolderCollection copiedFolders = new ClassFolderCollection(itemCount);

            foreach (ClassFolder folder in this)
            {
                copiedFolders.Add(folder.Copy());
            }
            return(copiedFolders);
        }
예제 #2
0
        public ClassFolderCollection Clone()
        {
            ClassFolderCollection clonedClassFolder = new ClassFolderCollection(itemCount);

            foreach (ClassFolder item in this)
            {
                clonedClassFolder.Add(item);
            }
            return(clonedClassFolder);
        }