xtd::io::directory_info::file_iterator xtd::io::directory_info::enumerate_files | ( | ) | const |
Returns an enumerable collection of file information in the current directory.
xtd::io::directory_not_found_exception | The specified path is invalid, such as being on an unmapped drive. |
xtd::security::security_exception | The caller does not have code access permission to create the directory. |
If you only need the names of the files, use the static xtd::io::directory class for better performance. For an example, see the xtd::io::directory::enumerate_files method.