xtd::io::directory_info::file_system_info_iterator xtd::io::directory_info::enumerate_file_system_infos | ( | const xtd::string & | search_pattern | ) | const |
Returns an enumerable collection of file system information that matches a specified search pattern.
search_pattern | The search string to match against the names of directories. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions. |
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. |
Wildcard specifier | Matches |
---|---|
* (asterisk) | Zero or more characters in that position. |
? (question mark) | Zero or one character in that position. |