Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft