算上文件夹中的文件夹 [英] Count folder inside the folder

查看:120
本文介绍了算上文件夹中的文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你能帮我怎么算的文件夹内的文件夹中。



我怎么能算子文件夹后的FolderBrowserDialog是弹出式,并选择主文件夹包括3个文件夹。



我用

 的FolderBrowserDialog fbdialog =新FolderBrowswerDialog(); 


解决方案

使用 System.IO。 DirectoryInfo的()类及其方法。


Can you help me how to count the folders inside the folder.

How can i count the sub folders after the FolderBrowserDialog is popup and choose that main folder consist of 3 folders.

I'm using

FolderBrowserDialog fbdialog = new FolderBrowswerDialog();

解决方案

Use System.IO.DirectoryInfo() class and its methods.

这篇关于算上文件夹中的文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆