DirectoryEnumerateDirectories Method (String) |
Namespace: CMS.IO
public static IEnumerable<string> EnumerateDirectories( string path )
This method is identical to EnumerateDirectories(String, String) with the asterisk (*) specified as the search pattern, so it returns all subdirectories.
If you need to search subdirectories recursively, use the EnumerateDirectories(String, String, SearchOption) method, which enables you to specify a search of all subdirectories.