xmlPath = D:\新建文件夹;
DirectoryInfo dir = new DirectoryInfo(xmlPath);
FileInfo[] allFile = dir.GetFiles("*.xml", SearchOption.AllDirectories);
xmlPath = D:\新建文件夹;
DirectoryInfo dir = new DirectoryInfo(xmlPath);
FileInfo[] allFile = dir.GetFiles("*.xml", SearchOption.AllDirectories);