| 1. |
38. It contains the list of all visual basic program files.O List boxO Option buttonOSolution explorer0 Command box |
|
Answer» The overloads of the FileSystem.GetFiles method return a read-only collection of strings representing the names of the files within a directory: Use the GetFiles(String) overload for a SIMPLE file search in a specified directory, without searching subdirectories. Use the GetFiles(String, SearchOption, String[]) overload to specify ADDITIONAL options for your search. You can use the WILDCARDS parameter to specify a search pattern. To include subdirectories in the search, SET the searchType parameter to SearchOption.SearchAllSubDirectories. An empty collection is returned if no files matching the specified pattern are found. |
|