GetDirectories Method

DirectoryInfo.GetDirectories Method

 

Returns the subdirectories of the current directory.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodGetDirectories()

Returns the subdirectories of the current directory.

System_CAPS_pubmethodGetDirectories(String)

Returns an array of directories in the current DirectoryInfo matching the given search criteria.

System_CAPS_pubmethodGetDirectories(String, SearchOption)

Returns an array of directories in the current DirectoryInfo matching the given search criteria and using a value to determine whether to search subdirectories.

Return to top
Show:
© 2016 Microsoft