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::GetFiles Method

 

Returns a file list from the current directory.

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

NameDescription
System_CAPS_pubmethodGetFiles()

Returns a file list from the current directory.

System_CAPS_pubmethodGetFiles(String^)

Returns a file list from the current directory matching the given search pattern.

System_CAPS_pubmethodGetFiles(String^, SearchOption)

Returns a file list from the current directory matching the given search pattern and using a value to determine whether to search subdirectories.

Return to top
Show:
© 2017 Microsoft