private GetFilesRec ( ShellItem path ) : void | ||
path | ShellItem | |
Résultat | void |
private void GetFilesRec(ShellItem path)
{
foreach (ShellItem item in path)
{
try
{
if (item.IsFolder)
{
try
{
GetFilesRec(item);
}
catch (Exception)
{
}
}
else
{
shol.Add(item);
}
}
catch (Exception)
{
}
}
}