Lists all files and subdirectories in the specified directory.

      Overload List

      ListDirectory(String, SearchCondition, Boolean)Lists all files and subdirectories in the specified directory.ListDirectory()Lists all files and subdirectories in the current working directory. This method returns the list of files and subdirectories in the first level of the current directory only.ListDirectory(SearchCondition)Lists files and subdirectories in the current working directory that match the specified search condition. This method returns the list of files and subdirectories in the first level of the current directory only.ListDirectory(String)Lists files and subdirectories in the specified directory. This method returns the list of files and subdirectories in the first level of the specified directory only. To scan subdirectories deeply, use the Search method.ListDirectory(String, SearchCondition)Lists files and subdirectories in the specified directory that match the specified search condition. This method returns the list of files and subdirectories in the first level of the specified directory only. To scan subdirectories deeply, use the Search method.ListDirectory(String, SearchCondition, Int32)Lists files and subdirectories in the specified directory that match the specified search condition. This method returns the list of files and subdirectories in the first level of the specified directory only. To scan subdirectories deeply, use the Search method.
      Top

      See Also